Skip to content
Snippets Groups Projects
Commit 7f914ec7 authored by Alex Braha Stoll's avatar Alex Braha Stoll
Browse files

Add tip about specifying the full path when creating new wiki pages

parent 5607bb8f
No related branches found
No related tags found
1 merge request!8133Show directory hierarchy when listing wiki pages
.new-wiki-page {
.new-wiki-page-slug-tip {
display: inline-block;
max-width: 100%;
margin-top: 5px;
}
}
.title .edit-wiki-header {
width: 780px;
margin-left: auto;
Loading
Loading
Loading
Loading
@@ -13,5 +13,9 @@
= 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
%span.new-wiki-page-slug-tip
%i.fa.fa-lightbulb-o
 Tip: You can specify the full path for the new file.
We will automatically create any missing directories.
.form-actions
= button_tag 'Create Page', class: 'build-new-wiki btn btn-create'
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment