summaryrefslogtreecommitdiff
path: root/app/views/projects/wikis/_new.html.haml
blob: 4f8abcdc8e1a167b7b9908d3e011941ee4317785 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
- @no_container = true

%div{ class: (container_class) }
  %div#modal-new-wiki.modal
    .modal-dialog
      .modal-content
        .modal-header
          %a.close{href: "#", "data-dismiss" => "modal"} ×
          %h3.page-title New Wiki Page
        .modal-body
          %form.new-wiki-page
            .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), autofocus: true
            .form-actions
              = button_tag 'Create Page', class: 'build-new-wiki btn btn-create'