_new.html.haml 580 Bytes
Newer Older
1
%div#modal-new-wiki.modal
Dmitriy Zaporozhets's avatar
Dmitriy Zaporozhets committed
2 3 4 5 6 7
  .modal-dialog
    .modal-content
      .modal-header
        %a.close{href: "#", "data-dismiss" => "modal"} ×
        %h3.page-title New Wiki Page
      .modal-body
8 9 10 11
        .form-group
          = label_tag :new_wiki_path do
            %span Page slug
          = 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)
Douwe Maan's avatar
Douwe Maan committed
12 13
        .form-actions
          = link_to 'Create Page', '#', class: 'build-new-wiki btn btn-create'