2015-06-15 22:53:06 +00:00
|
|
|
|
%div#modal-new-wiki.modal
|
2014-01-01 19:59:45 +00:00
|
|
|
|
.modal-dialog
|
|
|
|
|
.modal-content
|
|
|
|
|
.modal-header
|
|
|
|
|
%a.close{href: "#", "data-dismiss" => "modal"} ×
|
|
|
|
|
%h3.page-title New Wiki Page
|
|
|
|
|
.modal-body
|
|
|
|
|
= label_tag :new_wiki_path do
|
|
|
|
|
%span Page slug
|
2015-01-24 18:02:58 +00:00
|
|
|
|
= 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)
|
2015-05-21 09:38:13 +00:00
|
|
|
|
%p.hidden.text-danger{data: { error: "slug" }}
|
|
|
|
|
The page slug is invalid. Please don't use characters other then: a-z 0-9 _ - and /
|
2014-01-01 19:59:45 +00:00
|
|
|
|
%p.hint
|
2014-04-28 14:22:31 +00:00
|
|
|
|
Please don't use spaces.
|
2014-01-01 19:59:45 +00:00
|
|
|
|
.modal-footer
|
|
|
|
|
= link_to 'Build', '#', class: 'build-new-wiki btn btn-create'
|