summaryrefslogtreecommitdiff
path: root/templates/news/add.html
blob: 702d7ab74ab418e2dd7149a9b08017fc83047cbe (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
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 %}