diff gpp/templates/messages/compose_tab.html @ 425:76ba9478ebbd

Initial beta-test commit of a revamped, jquery ui tab-based PM system. This is for #211.
author Brian Neal <bgneal@gmail.com>
date Tue, 26 Apr 2011 00:16:35 +0000
parents
children d0f0800eef0c
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/gpp/templates/messages/compose_tab.html	Tue Apr 26 00:16:35 2011 +0000
@@ -0,0 +1,23 @@
+{% 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-beta_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>