diff gpp/templates/news/submit_news.html @ 4:9a8801fa63d5

Got rid of the pseudo cancel buttons on various forms. Replaced them with cancel links.
author Brian Neal <bgneal@gmail.com>
date Sat, 11 Apr 2009 18:52:19 +0000
parents dbd703f7d63a
children 6a5549c2efb5
line wrap: on
line diff
--- a/gpp/templates/news/submit_news.html	Sat Apr 11 18:28:13 2009 +0000
+++ b/gpp/templates/news/submit_news.html	Sat Apr 11 18:52:19 2009 +0000
@@ -13,7 +13,7 @@
       <table>
          {{ add_form.as_table }}
          <tr><td>&nbsp;</td><td><input type="submit" value="Submit" />
-            <input type="button" value="Cancel" onclick="history.back(); return true;" /></td></tr>
+         &nbsp;<a href="{% url news-index_page page=1 %}">Cancel</a></td></tr>
       </table>
    </form>
 {% else %}