evorepo/templates/news/add.html
Dan McGee 8777ccf001 Fix up HTML titles on a lot of pages
We didn't include them on many pages, or the ones we did weren't always
useful. Also try to keep the boilerplate to a minimum so you can see the
important bits in the title. 'Arch Linux - ' comes first in all titles, and
from there it can be filled in with something useful.

Signed-off-by: Dan McGee <dan@archlinux.org>
2010-03-01 21:43:52 -06:00

23 lines
523 B
HTML

{% 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 %}