From 3945c52682702a9b4b62a46e667f2c3307f06907 Mon Sep 17 00:00:00 2001 From: Thayer Williams Date: Tue, 16 Mar 2010 11:25:02 -0700 Subject: Redesigned News Pages Signed-off-by: Dan McGee --- templates/news/add.html | 39 +++++++++++++++++++++------------------ 1 file changed, 21 insertions(+), 18 deletions(-) (limited to 'templates/news/add.html') diff --git a/templates/news/add.html b/templates/news/add.html index ef3f211c..38b5b21d 100644 --- a/templates/news/add.html +++ b/templates/news/add.html @@ -1,22 +1,25 @@ {% extends "base.html" %} -{% block title %}Arch Linux - {% if form.instance.id %}Edit{% else %}Add{% endif %} News{% endblock %} +{% block title %}Arch Linux - News: {% if form.instance.id %}Edit{% else %}Add{% endif %} Article{% endblock %} {% block content %} -
- {% if form.instance.id %} -

Edit News

- {% else %} -

Add News

- {% endif %} -
- - {{form}} - - - -
- -
-
-
+
+ + {% if form.instance.id %} +

News: Edit Article

+ {% else %} +

News: Add Article

+ {% endif %} + +
+
+ {{ form.as_p }} +
+ {% if form.instance.id %} +

+ {% else %} +

+ {% endif %} +
+ +
{% endblock %} -- cgit v1.2.3-54-g00ecf