Mercurial > public > sg101
annotate gpp/templates/messages/options.html @ 178:d51743322bb2
#56 - Cut over to Django 1.2 messaging system.
author | Brian Neal <bgneal@gmail.com> |
---|---|
date | Wed, 17 Mar 2010 03:12:05 +0000 |
parents | dbd703f7d63a |
children | 6a5549c2efb5 |
rev | line source |
---|---|
gremmie@1 | 1 {% extends 'messages/base.html' %} |
gremmie@1 | 2 {% block title %}Messages: Options{% endblock %} |
gremmie@1 | 3 {% block options-class %}active{% endblock %} |
gremmie@1 | 4 {% block messages_content %} |
gremmie@1 | 5 <h3>Private Message Options</h3> |
gremmie@1 | 6 {% if messages %} |
gremmie@1 | 7 <ul class="user-messages"> |
gremmie@1 | 8 {% for msg in messages %} |
bgneal@178 | 9 <li{% if msg.tags %} class="{{ msg.tags }}"{% endif %}>{{ msg }}</li> |
gremmie@1 | 10 {% endfor %} |
gremmie@1 | 11 </ul> |
gremmie@1 | 12 {% endif %} |
gremmie@1 | 13 <form action="." method="post"> |
gremmie@1 | 14 <table> |
gremmie@1 | 15 {{ form.as_table }} |
gremmie@1 | 16 <tr> |
gremmie@1 | 17 <td> </td> |
gremmie@1 | 18 <td> |
gremmie@1 | 19 <input type="submit" name="submit_button" value="Save" /> |
gremmie@1 | 20 <input type="submit" name="submit_button" value="Cancel" /> |
gremmie@1 | 21 </td> |
gremmie@1 | 22 </tr> |
gremmie@1 | 23 </table> |
gremmie@1 | 24 </form> |
gremmie@1 | 25 <br /> |
gremmie@1 | 26 {% endblock %} |