diff options
Diffstat (limited to 'root/templates/edit.tt')
-rw-r--r-- | root/templates/edit.tt | 8 |
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 %] |