summaryrefslogtreecommitdiff
path: root/templates/news/add.html
blob: ef3f211cd12437a42ca554fac92a970ad74c0094 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
{% extends "base.html" %}
{% block title %}Arch Linux - {% if form.instance.id %}Edit{% else %}Add{% endif %} News{% endblock %}

{% block content %}
	<div class="greybox">
	{% if form.instance.id %}
		<h2 class="title">Edit News</h2>
	{% else %}
		<h2 class="title">Add News</h2>
	{% endif %}
		<form method="post" id="newsform" action=".">
		<table>
            {{form}}
			<tr>
				<td colspan="2" align="right">
					<input type="submit" value=" Save " />
				</td>
			</tr>
		</table>
		</form>
	</div>
{% endblock %}