aac6598482
Since GitHub doesn’t apply these constraints to theirs wiki slug allowing characters like `,`, `:`, `*`, etc, we need to relax our constraints or some wiki pages will not be available after they were imported. For an example the Devise project have a wiki page with the following slug: “How To: Add sign_in, sign_out, and sign_up links to your layout template”
13 lines
580 B
Text
13 lines
580 B
Text
%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-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)
|
||
.form-actions
|
||
= link_to 'Create Page', '#', class: 'build-new-wiki btn btn-create'
|