annotate gpp/templates/messages/compose.html @ 100:eb9f99382476

Forums: groups support. Some experimentation with select_related() to reduce queries. There are more opportunities for this, see the TODO comments in views.py.
author Brian Neal <bgneal@gmail.com>
date Tue, 15 Sep 2009 03:15:20 +0000
parents dbd703f7d63a
children c515b7401078
rev   line source
gremmie@1 1 {% extends 'messages/base.html' %}
gremmie@1 2 {% block title %}Messages: Compose{% endblock %}
gremmie@1 3 {% block custom_js %}
gremmie@1 4 {{ compose_form.media }}
gremmie@1 5 {% endblock %}
gremmie@1 6 {% block compose-class %}class="active"{% endblock %}
gremmie@1 7 {% block messages_content %}
gremmie@1 8 <h3>Compose Message</h3>
gremmie@1 9 <form action="." method="post">
gremmie@1 10 <table>
gremmie@1 11 {{ compose_form.as_table }}
gremmie@1 12 <tr>
gremmie@1 13 <td>&nbsp;</td>
gremmie@1 14 <td>
gremmie@1 15 <input type="submit" name="submit_button" value="Send" />
gremmie@1 16 <input type="submit" name="submit_button" value="Cancel" />
gremmie@1 17 </td>
gremmie@1 18 </tr>
gremmie@1 19 </table>
gremmie@1 20 </form>
gremmie@1 21 <br />
gremmie@1 22 {% endblock %}