76aad9b76e
Make the following changes to deal with new behavior in Rails 4.1.2: * Use nested resources to avoid slashes in arguments to path helpers.
14 lines
600 B
Text
14 lines
600 B
Text
%div#modal-new-wiki.modal.hide
|
||
.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
|
||
= 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)
|
||
%p.hint
|
||
Please don't use spaces.
|
||
.modal-footer
|
||
= link_to 'Build', '#', class: 'build-new-wiki btn btn-create'
|