2016-06-22 15:30:34 +05:30
|
|
|
|
- @no_container = true
|
|
|
|
|
|
2016-08-24 12:49:21 +05:30
|
|
|
|
%div{ class: container_class }
|
2017-08-17 22:00:37 +05:30
|
|
|
|
#modal-new-wiki.modal
|
2016-06-22 15:30:34 +05:30
|
|
|
|
.modal-dialog
|
|
|
|
|
.modal-content
|
|
|
|
|
.modal-header
|
2017-08-17 22:00:37 +05:30
|
|
|
|
%a.close{ href: "#", "data-dismiss" => "modal" } ×
|
2016-06-22 15:30:34 +05:30
|
|
|
|
%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
|
2017-08-17 22:00:37 +05:30
|
|
|
|
%span.new-wiki-page-slug-tip
|
|
|
|
|
= icon('lightbulb-o')
|
|
|
|
|
Tip: You can specify the full path for the new file.
|
|
|
|
|
We will automatically create any missing directories.
|
2016-06-22 15:30:34 +05:30
|
|
|
|
.form-actions
|
2017-08-17 22:00:37 +05:30
|
|
|
|
= button_tag 'Create page', class: 'build-new-wiki btn btn-create'
|