view gpp/templates/messages/compose_tab.html @ 429:d0f0800eef0c

Making the jquery tabbed version of the messages app the current version and removing the old. Also figured out how to dynamically update the base template's count of unread messages when messages are read.
author Brian Neal <bgneal@gmail.com>
date Tue, 03 May 2011 02:56:58 +0000
parents 76ba9478ebbd
children 9df368d9775d
line wrap: on
line source
{% load url from future %}
{% load core_tags %}
{% load script_tags %}
{% script_tags 'markitup' %}
{% if messages %}
<ul class="user-messages">
   {% for msg in messages %}
      <li{% if msg.tags %} class="{{ msg.tags }}"{% endif %}>{{ msg }}</li>
   {% endfor %}
</ul>
{% endif %}
<form action="{% url 'messages-compose' %}" method="post">{% csrf_token %}
<table>
{{ compose_form.as_table }}
<tr>
   <td>&nbsp;</td>
   <td>
      {% comment_dialogs %}
      <input type="submit" name="submit_button" value="Send" />
   </td>
</tr>
</table>
</form>