summary refs log tree commit diff
path: root/views/edit.tt
diff options
context:
space:
mode:
authorfranck cuny <franck@lumberjaph.net>2011-03-13 15:10:53 +0100
committerfranck cuny <franck@lumberjaph.net>2011-03-13 15:10:53 +0100
commit359a311497985014ab48eeafa2a05907cbcc11fe (patch)
treeee0b73f8cd3cba6ff5fb279df2e9617b35b1c34a /views/edit.tt
parentview home page, edit and upate (diff)
downloadballet-359a311497985014ab48eeafa2a05907cbcc11fe.tar.gz
more templates
Signed-off-by: franck cuny <franck@lumberjaph.net>
Diffstat (limited to 'views/edit.tt')
-rw-r--r--views/edit.tt22
1 files changed, 22 insertions, 0 deletions
diff --git a/views/edit.tt b/views/edit.tt
new file mode 100644
index 0000000..3888e9c
--- /dev/null
+++ b/views/edit.tt
@@ -0,0 +1,22 @@
+<div id="wiki-wrapper" class="edit">
+  <div id="head">
+    <h1>Editing <strong><% title %></strong></h1>
+    <ul class="actions">
+      <li class="minibutton">
+        <a href="/<% title %>" class="action-view-page">View Page</a>
+      </li>
+      <li class="minibutton">
+        <a href="/history/<% title %>" class="action-page-history">Page History</a>
+      </li>
+    </ul>
+  </div>
+
+  <div id="wiki-content">
+    <form name="editor" action="/edit/<% title %>" method="post">
+      <textarea id="editor-body" name="content">
+        <% content %>
+      </textarea>
+      <input type="submit" id="editor-submit" value="Save" title="Save current changes">
+    </form>
+  </div>
+</div>