Mercurial > public > sg101
comparison 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 |
comparison
equal
deleted
inserted
replaced
3:33f73b7bd305 | 4:9a8801fa63d5 |
---|---|
5 {% if add_form %} | 5 {% if add_form %} |
6 <form action="." method="post"> | 6 <form action="." method="post"> |
7 <table> | 7 <table> |
8 {{ add_form.as_table }} | 8 {{ add_form.as_table }} |
9 <tr><td> </td><td><input type="submit" value="Add Link" /> | 9 <tr><td> </td><td><input type="submit" value="Add Link" /> |
10 <input type="button" value="Cancel" onclick="history.back(); return true;" /></td></tr> | 10 <a href="{% url weblinks-main %}">Cancel</a> |
11 </td></tr> | |
11 </table> | 12 </table> |
12 </form> | 13 </form> |
13 <br /> | 14 <br /> |
14 {% else %} | 15 {% else %} |
15 <p><strong>Thank you for submitting a link!</strong></p> | 16 <p><strong>Thank you for submitting a link!</strong></p> |