Converting SimpleWiki pages to Mako templates. Moving them to templates. Some bugs remain.

This commit is contained in:
Bridger Maxwell
2012-01-08 02:20:48 -05:00
parent f25219cb74
commit 4ca87c445b
8 changed files with 522 additions and 0 deletions

20
simplewiki_edit.html Normal file
View File

@@ -0,0 +1,20 @@
<%inherit file="simplewiki_base.html"/>
<%block name="wiki_page_title">
${ wiki_article.title }
</%block>
<%block name="wiki_body">
<form method="POST" id="wiki_revision">
<div style="display:none">
<input type="hidden" name="csrfmiddlewaretoken" value="${csrf_token}"/>
</div>
<table id="wiki_revision_table">
${wiki_form}
<tr>
<td colspan="2" align="right">
<input type="submit" value="Edit article" /></td>
</tr>
</table>
</form>
</%block>