2016-06-15 10:31:41 -04:00
|
|
|
|
- @no_container = true
|
|
|
|
|
|
2016-06-30 09:01:26 -04:00
|
|
|
|
%div{ class: container_class }
|
2016-12-23 04:37:12 -05:00
|
|
|
|
#modal-new-wiki.modal
|
2016-06-15 10:31:41 -04:00
|
|
|
|
.modal-dialog
|
|
|
|
|
.modal-content
|
|
|
|
|
.modal-header
|
2016-12-26 05:47:16 -05:00
|
|
|
|
%a.close{ href: "#", "data-dismiss" => "modal" } ×
|
2016-06-15 10:31:41 -04:00
|
|
|
|
%h3.page-title New Wiki Page
|
|
|
|
|
.modal-body
|
|
|
|
|
%form.new-wiki-page
|
|
|
|
|
.form-group
|
|
|
|
|
= label_tag :new_wiki_path do
|
|
|
|
|
%span Page slug
|
|
|
|
|
= text_field_tag :new_wiki_path, nil, placeholder: 'how-to-setup', class: 'form-control', required: true, :'data-wikis-path' => namespace_project_wikis_path(@project.namespace, @project), autofocus: true
|
2016-12-18 19:30:07 -05:00
|
|
|
|
%span.new-wiki-page-slug-tip
|
2017-02-12 23:23:54 -05:00
|
|
|
|
= icon('lightbulb-o')
|
2016-12-25 19:13:20 -05:00
|
|
|
|
Tip: You can specify the full path for the new file.
|
2016-12-18 19:30:07 -05:00
|
|
|
|
We will automatically create any missing directories.
|
2016-06-15 10:31:41 -04:00
|
|
|
|
.form-actions
|
2017-04-06 09:55:11 -04:00
|
|
|
|
= button_tag 'Create page', class: 'build-new-wiki btn btn-create'
|