Mercurial > public > sg101
diff gpp/templates/weblinks/add_link.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/weblinks/add_link.html Sat Apr 11 18:28:13 2009 +0000 +++ b/gpp/templates/weblinks/add_link.html Sat Apr 11 18:52:19 2009 +0000 @@ -7,7 +7,8 @@ <table> {{ add_form.as_table }} <tr><td> </td><td><input type="submit" value="Add Link" /> - <input type="button" value="Cancel" onclick="history.back(); return true;" /></td></tr> + <a href="{% url weblinks-main %}">Cancel</a> + </td></tr> </table> </form> <br />