Add a 'New Page' button to the /pages browser that allows users to create a new page within a subdirectory.

This commit is contained in:
Darren Oakley
2012-06-22 11:41:42 +01:00
parent 8fd11e8fdb
commit 6e35a09abd
8 changed files with 54 additions and 16 deletions
@@ -10,6 +10,9 @@
<div id="gollum-editor-title-field" class="singleline">
<label for="page" class="jaws">Page Title</label>
<input type="text" name="page" id="gollum-editor-page-title" value="{{page_name}}">
{{#has_path}}
<p class="path_note"><strong>NOTE:</strong> This page will be created within the &quot;<strong>{{path}}</strong>&quot; directory</p>
{{/has_path}}
</div>
{{/is_create_page}}
{{#is_edit_page}}