summaryrefslogtreecommitdiff
path: root/views/staff/edit-docs.ejs
diff options
context:
space:
mode:
Diffstat (limited to 'views/staff/edit-docs.ejs')
-rw-r--r--views/staff/edit-docs.ejs42
1 files changed, 42 insertions, 0 deletions
diff --git a/views/staff/edit-docs.ejs b/views/staff/edit-docs.ejs
new file mode 100644
index 0000000..cecce10
--- /dev/null
+++ b/views/staff/edit-docs.ejs
@@ -0,0 +1,42 @@
+<div class="mediaDrawer fixed animate editDocument">
+ <span class="close">X</span>
+ <div id="form_container">
+
+ <form>
+ <input type="hidden" name="_csrf" value="[[- token ]]">
+ <input type="hidden" name="name">
+ <ul>
+ <li class="section_break">
+ <h3>Documentation</h3>
+ </li>
+
+ <li>
+ <label class="description" for="docs_displayName">Title:</label>
+ <div>
+ <input id="docs_displayName" name="displayName" class="element text medium" type="text" maxlength="255">
+ </div>
+ </li>
+
+ <li>
+ <label class="description" for="docs_name">Path:</label>
+ <div>
+ <input id="docs_name" name="new_name" class="element text medium" type="text" maxlength="255">
+ </div>
+ </li>
+
+ <li>
+ <label class="description" for="docs_body">Body:</label>
+ <textarea id="docs_body" name="body"></textarea>
+ </li>
+
+ <li class="buttons">
+ <input id="saveForm" class="button_text" type="submit" value="Submit" />
+ </li>
+ <div class="errors">
+ <div>There was a problem with your submission:</div>
+ <div class="errorList"></div>
+ </div>
+ </ul>
+ </form>
+ </div>
+</div> \ No newline at end of file