diff options
Diffstat (limited to 'root/templates/edit.tt')
-rw-r--r-- | root/templates/edit.tt | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/root/templates/edit.tt b/root/templates/edit.tt new file mode 100644 index 0000000..2b8f37e --- /dev/null +++ b/root/templates/edit.tt @@ -0,0 +1,12 @@ +<html> +<body> +<h1>[% page %]</h1> +<p><a href="[% uri_for('controller', 'wiki', 'action', 'page', 'page_name', page) %]">View</a></p> +<p> +<form method="POST" action="[% uri_for('controller', 'wiki', 'action', 'edit', 'page_name', page) %]"> +<input type="text" value="[% text %]" name="text" /> +<input type="submit" value="Submit" /> +</form> +</p> +</body> +</html> |