2017-06-12 07:47:46 -04:00
|
|
|
#modal-new-wiki.modal
|
|
|
|
.modal-dialog
|
|
|
|
.modal-content
|
|
|
|
.modal-header
|
2017-09-27 13:13:29 -04:00
|
|
|
%h3.page-title= s_("WikiNewPageTitle|New Wiki Page")
|
2018-06-01 10:01:37 -04:00
|
|
|
%button.close{ type: "button", "data-dismiss": "modal", "aria-label" => _('Close') }
|
|
|
|
%span{ "aria-hidden": true } ×
|
2017-06-12 07:47:46 -04:00
|
|
|
.modal-body
|
|
|
|
%form.new-wiki-page
|
|
|
|
.form-group
|
|
|
|
= label_tag :new_wiki_path do
|
2017-09-27 13:13:29 -04:00
|
|
|
%span= s_("WikiPage|Page slug")
|
|
|
|
= text_field_tag :new_wiki_path, nil, placeholder: s_("WikiNewPagePlaceholder|how-to-setup"), class: 'form-control', required: true, :'data-wikis-path' => project_wikis_path(@project), autofocus: true
|
2017-06-12 07:47:46 -04:00
|
|
|
%span.new-wiki-page-slug-tip
|
|
|
|
= icon('lightbulb-o')
|
2017-09-27 13:13:29 -04:00
|
|
|
= s_("WikiNewPageTip|Tip: You can specify the full path for the new file. We will automatically create any missing directories.")
|
2017-06-12 07:47:46 -04:00
|
|
|
.form-actions
|
2018-09-18 05:58:22 -04:00
|
|
|
= button_tag s_("Wiki|Create page"), class: "build-new-wiki btn btn-success"
|