Mercurial > public > sg101
diff gpp/templates/bio/avatar.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/bio/avatar.html Sat Apr 11 18:28:13 2009 +0000 +++ b/gpp/templates/bio/avatar.html Sat Apr 11 18:52:19 2009 +0000 @@ -18,6 +18,6 @@ <form enctype="multipart/form-data" method="POST" action="."> {{ form.as_p }} <input type="submit" value="Update Avatar" /> - <input type="button" value="Cancel" onclick="history.back(); return true;" /> + <a href="{% url bio-me %}">Cancel</a> </form> {% endblock %}