debian-mirror-gitlab/app/views/projects/wikis/_new.html.haml

17 lines
744 B
Text
Raw Normal View History

2015-09-11 14:41:01 +05:30
%div#modal-new-wiki.modal
2014-09-02 18:07:02 +05:30
.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-04-26 12:48:37 +05:30
= 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-09-11 14:41:01 +05:30
%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-09-02 18:07:02 +05:30
%p.hint
Please don't use spaces.
.modal-footer
= link_to 'Build', '#', class: 'build-new-wiki btn btn-create'