annotate gpp/templates/messages/options.html @ 43:2763977301c2

Added support for caching. The avatar template tag now uses the cache.
author Brian Neal <bgneal@gmail.com>
date Sun, 14 Jun 2009 20:25:22 +0000
parents dbd703f7d63a
children d51743322bb2
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 %}
gremmie@1 9 <li>{{ 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>&nbsp;</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 %}