Added 'broken links' script.
[cocanwiki.git] / templates / edit.html
index 927a13a..6209ef5 100644 (file)
 
 <h1>::title_html:: [edit]</h1>
 
-<form method="post" action="edit">
+<form method="post" action="">
 <input type="hidden" name="id" value="::id::"/>
+<input type="hidden" name="pt_type" value="::pt_type::"/>
+<input type="hidden" name="pt_value" value="::pt_value_html_tag::"/>
 
 <p>
 Description:
@@ -29,7 +31,6 @@ Redirect to (if given, page contents are ignored):
 
 ::if(has_errors)::
 <div id="errors">
-<p><strong>Errors:</strong></p>
 <ul>
 ::table(errors)::<li>::error_html::</li>
 ::end::</ul>
@@ -74,12 +75,14 @@ update_preview_now ('content_::ordering::', 'preview_::ordering::');
 
 </form>
 
+<div id="footer_div">
 <hr/>
 
 <ul id="footer" class="menu">
 <li class="first"> <a href="/copyright">Copyright &copy; ::year::</a> </li>
 <li> Powered by <a href="http://sandbox.merjis.com/">::cocanwiki_package_html:: ::cocanwiki_version_html::</a> </li>
 </ul>
+</div>
 
 </body>
 </html>
\ No newline at end of file