7f8a520f8a
Rename btn-new, btn-create and btn-save to btn-success Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
18 lines
981 B
Text
18 lines
981 B
Text
#modal-new-wiki.modal
|
|
.modal-dialog
|
|
.modal-content
|
|
.modal-header
|
|
%h3.page-title= s_("WikiNewPageTitle|New Wiki Page")
|
|
%button.close{ type: "button", "data-dismiss": "modal", "aria-label" => _('Close') }
|
|
%span{ "aria-hidden": true } ×
|
|
.modal-body
|
|
%form.new-wiki-page
|
|
.form-group
|
|
= label_tag :new_wiki_path do
|
|
%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
|
|
%span.new-wiki-page-slug-tip
|
|
= icon('lightbulb-o')
|
|
= s_("WikiNewPageTip|Tip: You can specify the full path for the new file. We will automatically create any missing directories.")
|
|
.form-actions
|
|
= button_tag s_("Wiki|Create page"), class: "build-new-wiki btn btn-success"
|