From a00f85e1332ca973cec807693e383accd9cdc864 Mon Sep 17 00:00:00 2001 From: Dusty Phillips Date: Sun, 5 Oct 2008 21:06:00 -0400 Subject: port news to django 1.0 using generic views --- templates/news/add.html | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) (limited to 'templates/news/add.html') diff --git a/templates/news/add.html b/templates/news/add.html index 702d7ab..80fccc3 100644 --- a/templates/news/add.html +++ b/templates/news/add.html @@ -2,20 +2,15 @@ {% block content %}
- {% if news %} + {% if form.instance.id %}

Edit News

{% else %}

Add News

{% endif %}
+ {{form}} - - - - - - -- cgit v1.2.3-24-g4f1b
Title:{{ form.title }}
Content:{{ form.content }}