summaryrefslogtreecommitdiff
path: root/templates/news/add.html
diff options
context:
space:
mode:
authoreliott <eliott@cactuswax.net>2007-11-03 03:45:10 -0400
committereliott <eliott@cactuswax.net>2007-11-03 03:45:10 -0400
commit39a548fd2629f3b6383990264b2e331b3aea99fb (patch)
treef68c3156dad5f7814473ceff2461679ddf11a2e8 /templates/news/add.html
Initial import for public release...
Special Note Prior to git import, approx 90% of the code was done by Judd Vinet. Thanks Judd!
Diffstat (limited to 'templates/news/add.html')
-rw-r--r--templates/news/add.html26
1 files changed, 26 insertions, 0 deletions
diff --git a/templates/news/add.html b/templates/news/add.html
new file mode 100644
index 00000000..702d7ab7
--- /dev/null
+++ b/templates/news/add.html
@@ -0,0 +1,26 @@
+{% extends "base.html" %}
+
+{% block content %}
+ <div class="greybox">
+ {% if news %}
+ <h2 class="title">Edit News</h2>
+ {% else %}
+ <h2 class="title">Add News</h2>
+ {% endif %}
+ <form method="post" action=".">
+ <table>
+ <tr>
+ <td>Title:</td>
+ <td>{{ form.title }}</td>
+ </tr><tr>
+ <td style="vertical-align:top">Content:</td>
+ <td>{{ form.content }}</td>
+ </tr><tr>
+ <td colspan="2" align="right">
+ <input type="submit" value=" Save " />
+ </td>
+ </tr>
+ </table>
+ </form>
+ </div>
+{% endblock %}