Mercurial > public > sg101
diff gpp/templates/news/send_story.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/send_story.html Sat Apr 11 18:28:13 2009 +0000 +++ b/gpp/templates/news/send_story.html Sat Apr 11 18:52:19 2009 +0000 @@ -13,7 +13,8 @@ <table> {{ send_form.as_table }} <tr><td> </td><td><input type="submit" value="Send" /> - <input type="button" value="Cancel" onclick="history.back(); return true;" /></td></tr> + <a href="{{ story.get_absolute_url }}">Cancel</a> + </td></tr> </table> </form> {% else %}