summaryrefslogtreecommitdiffstats
path: root/root/templates/edit.tt
diff options
context:
space:
mode:
authorJesse Luehrs <doy@tozt.net>2011-02-18 09:33:09 -0600
committerJesse Luehrs <doy@tozt.net>2011-02-18 11:52:18 -0600
commit1ffb8c7688a3ecc947c81bccbd406f277c9d853a (patch)
tree985ec17b783bfbd10fa1557bac9b5ff8797a09fa /root/templates/edit.tt
parent0d5a97a87d1e42626f8e21b36ef327afd556865c (diff)
downloadnarwhal-1ffb8c7688a3ecc947c81bccbd406f277c9d853a.tar.gz
narwhal-1ffb8c7688a3ecc947c81bccbd406f277c9d853a.zip
clean up the templates a bit
Diffstat (limited to 'root/templates/edit.tt')
-rw-r--r--root/templates/edit.tt8
1 files changed, 2 insertions, 6 deletions
diff --git a/root/templates/edit.tt b/root/templates/edit.tt
index a2be77c..4b5c811 100644
--- a/root/templates/edit.tt
+++ b/root/templates/edit.tt
@@ -1,12 +1,8 @@
-<html>
-<body>
-<h1>[% page %]</h1>
+[% WRAPPER 'wrappers/root.tt' %]
<p><a href="[% uri_for('action', 'page', 'page_name', page) %]">View</a></p>
-<p>
<form method="POST" action="[% uri_for('action', 'edit', 'page_name', page) %]">
<textarea name="text" rows="10" cols="30">[% text %]</textarea>
<input type="submit" value="Submit" />
</form>
</p>
-</body>
-</html>
+[% END %]