Mercurial > public > sg101
comparison 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 |
comparison
equal
deleted
inserted
replaced
3:33f73b7bd305 | 4:9a8801fa63d5 |
---|---|
11 </ul> | 11 </ul> |
12 <form action="." method="post"> | 12 <form action="." method="post"> |
13 <table> | 13 <table> |
14 {{ send_form.as_table }} | 14 {{ send_form.as_table }} |
15 <tr><td> </td><td><input type="submit" value="Send" /> | 15 <tr><td> </td><td><input type="submit" value="Send" /> |
16 <input type="button" value="Cancel" onclick="history.back(); return true;" /></td></tr> | 16 <a href="{{ story.get_absolute_url }}">Cancel</a> |
17 </td></tr> | |
17 </table> | 18 </table> |
18 </form> | 19 </form> |
19 {% else %} | 20 {% else %} |
20 <p><strong>Thank you for letting your friend know about this story and our site!</strong></p> | 21 <p><strong>Thank you for letting your friend know about this story and our site!</strong></p> |
21 <p>An email has been sent to your friend with a link to the story.</p> | 22 <p>An email has been sent to your friend with a link to the story.</p> |