2017-09-10 17:25:29 +05:30
|
|
|
|
#modal-new-wiki.modal
|
|
|
|
|
.modal-dialog
|
|
|
|
|
.modal-content
|
|
|
|
|
.modal-header
|
|
|
|
|
%a.close{ href: "#", "data-dismiss" => "modal" } ×
|
2018-03-17 18:26:18 +05:30
|
|
|
|
%h3.page-title= s_("WikiNewPageTitle|New Wiki Page")
|
2017-09-10 17:25:29 +05:30
|
|
|
|
.modal-body
|
|
|
|
|
%form.new-wiki-page
|
|
|
|
|
.form-group
|
|
|
|
|
= label_tag :new_wiki_path do
|
2018-03-17 18:26:18 +05:30
|
|
|
|
%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-09-10 17:25:29 +05:30
|
|
|
|
%span.new-wiki-page-slug-tip
|
|
|
|
|
= icon('lightbulb-o')
|
2018-03-17 18:26:18 +05:30
|
|
|
|
= s_("WikiNewPageTip|Tip: You can specify the full path for the new file. We will automatically create any missing directories.")
|
2017-09-10 17:25:29 +05:30
|
|
|
|
.form-actions
|
2018-03-17 18:26:18 +05:30
|
|
|
|
= button_tag s_("Wiki|Create page"), class: "build-new-wiki btn btn-create"
|