Mercurial > public > sg101
comparison gpp/templates/messages/compose_tab.html @ 431:0d91176cf9b3
More work on #211. The compose view now returns the tab fragment HTML so errors can be displayed correctly.
author | Brian Neal <bgneal@gmail.com> |
---|---|
date | Fri, 06 May 2011 00:02:55 +0000 |
parents | 9df368d9775d |
children |
comparison
equal
deleted
inserted
replaced
430:9df368d9775d | 431:0d91176cf9b3 |
---|---|
7 {% for msg in messages %} | 7 {% for msg in messages %} |
8 <li{% if msg.tags %} class="{{ msg.tags }}"{% endif %}>{{ msg }}</li> | 8 <li{% if msg.tags %} class="{{ msg.tags }}"{% endif %}>{{ msg }}</li> |
9 {% endfor %} | 9 {% endfor %} |
10 </ul> | 10 </ul> |
11 {% endif %} | 11 {% endif %} |
12 <form action="{% url 'messages-compose' %}" method="post" id="msg_compose_form">{% csrf_token %} | 12 <form action="." method="post" id="msg_compose_form" onsubmit="return messageSubmit(this);" > |
13 <table> | 13 <table> |
14 {{ compose_form.as_table }} | 14 {{ compose_form.as_table }} |
15 <tr> | 15 <tr> |
16 <td> </td> | 16 <td> </td> |
17 <td> | 17 <td> |