summaryrefslogtreecommitdiff
path: root/app/views/projects/wikis/_new.html.haml
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/projects/wikis/_new.html.haml')
-rw-r--r--app/views/projects/wikis/_new.html.haml12
1 files changed, 12 insertions, 0 deletions
diff --git a/app/views/projects/wikis/_new.html.haml b/app/views/projects/wikis/_new.html.haml
new file mode 100644
index 00000000000..ca8e7c1b4b4
--- /dev/null
+++ b/app/views/projects/wikis/_new.html.haml
@@ -0,0 +1,12 @@
+%div#modal-new-wiki.modal.hide
+ .modal-header
+ %a.close{href: "#"} ×
+ %h3.page_title New Wiki Page
+ .modal-body
+ = label_tag :new_wiki_path do
+ %span Page slug
+ = text_field_tag :new_wiki_path, nil, placeholder: 'how-to-setup', class: 'input-xlarge', required: true, :'data-wikis-path' => project_wikis_path(@project)
+ %p.hint
+ Please dont use spaces and slashes
+ .modal-footer
+ = link_to 'Build', '#', class: 'build-new-wiki btn btn-create'