comparison gpp/templates/news/send_story.html @ 1:dbd703f7d63a

Initial import of sg101 stuff from private repository.
author gremmie
date Mon, 06 Apr 2009 02:43:12 +0000
parents
children 9a8801fa63d5
comparison
equal deleted inserted replaced
0:900ba3c7b765 1:dbd703f7d63a
1 {% extends 'base.html' %}
2 {% block title %}News: Send Story to a Friend{% endblock %}
3 {% block content %}
4 <h3>Send Story to a Friend</h3>
5 {% if send_form %}
6 <p>Would you like to send a link to the story titled <strong>{{ story.title }}</strong> to a friend?
7 Just fill out the form below and click Send.</p>
8 <ul>
9 <li>Your name: {{ user.get_full_name }}</li>
10 <li>Your email: {{ user.email }}</li>
11 </ul>
12 <form action="." method="post">
13 <table>
14 {{ send_form.as_table }}
15 <tr><td>&nbsp;</td><td><input type="submit" value="Send" />
16 <input type="button" value="Cancel" onclick="history.back(); return true;" /></td></tr>
17 </table>
18 </form>
19 {% else %}
20 <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 {% endif %}
23 <br />
24 {% endblock %}