Mercurial > public > sg101
annotate gpp/templates/messages/compose.html @ 197:2baadae33f2e
Got autocomplete working for the member search. Updated django and ran into a bug where url tags with comma separated kwargs starting consuming tons of CPU throughput. The work-around is to cut over to using spaces between arguments. This is now allowed to be consistent with other tags. Did some query optimization for the news app.
author | Brian Neal <bgneal@gmail.com> |
---|---|
date | Sat, 10 Apr 2010 04:32:24 +0000 |
parents | 6a5549c2efb5 |
children |
rev | line source |
---|---|
gremmie@1 | 1 {% extends 'messages/base.html' %} |
bgneal@133 | 2 {% load core_tags %} |
gremmie@1 | 3 {% block title %}Messages: Compose{% endblock %} |
gremmie@1 | 4 {% block custom_js %} |
gremmie@1 | 5 {{ compose_form.media }} |
gremmie@1 | 6 {% endblock %} |
gremmie@1 | 7 {% block compose-class %}class="active"{% endblock %} |
gremmie@1 | 8 {% block messages_content %} |
gremmie@1 | 9 <h3>Compose Message</h3> |
bgneal@194 | 10 <form action="." method="post">{% csrf_token %} |
gremmie@1 | 11 <table> |
gremmie@1 | 12 {{ compose_form.as_table }} |
gremmie@1 | 13 <tr> |
gremmie@1 | 14 <td> </td> |
gremmie@1 | 15 <td> |
bgneal@133 | 16 {% comment_dialogs %} |
gremmie@1 | 17 <input type="submit" name="submit_button" value="Send" /> |
gremmie@1 | 18 <input type="submit" name="submit_button" value="Cancel" /> |
gremmie@1 | 19 </td> |
gremmie@1 | 20 </tr> |
gremmie@1 | 21 </table> |
gremmie@1 | 22 </form> |
gremmie@1 | 23 <br /> |
gremmie@1 | 24 {% endblock %} |