| 1 |
<?python |
| 2 |
hide_navigation = new |
| 3 |
page_action = 'edit' |
| 4 |
?> |
| 5 |
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:xi="http://www.w3.org/2001/XInclude" |
| 6 |
xmlns:py="http://genshi.edgewall.org/"><xi:include href="layout.html" /> |
| 7 |
<head> |
| 8 |
<title>${'Create' if new else 'Edit'} Page</title> |
| 9 |
</head> |
| 10 |
<body> |
| 11 |
<h1>${'Create' if new else 'Edit'} “${page.title or page_name}”</h1> |
| 12 |
<p> |
| 13 |
You can now ${'create' if new else 'modify'} the page contents. To |
| 14 |
format your text you can use <a href="http://www.wikicreole.org/">creole markup</a>. |
| 15 |
</p> |
| 16 |
<p class="error" py:if="error">${error}</p> |
| 17 |
<form action="" method="post"> |
| 18 |
<p><textarea name="text" rows="15" cols="50">${revision.text}</textarea></p> |
| 19 |
<div class="actions"> |
| 20 |
<input type="text" name="change_note" value="${change_note}" size="50" /> |
| 21 |
<input type="submit" value="Save" /> |
| 22 |
<input type="submit" name="cancel" value="Cancel" /> |
| 23 |
</div> |
| 24 |
</form> |
| 25 |
</body> |
| 26 |
</html> |