diff 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
line wrap: on
line diff
--- a/gpp/templates/messages/compose_tab.html	Thu May 05 02:58:44 2011 +0000
+++ b/gpp/templates/messages/compose_tab.html	Fri May 06 00:02:55 2011 +0000
@@ -9,7 +9,7 @@
    {% endfor %}
 </ul>
 {% endif %}
-<form action="{% url 'messages-compose' %}" method="post" id="msg_compose_form">{% csrf_token %}
+<form action="." method="post" id="msg_compose_form" onsubmit="return messageSubmit(this);" >
 <table>
 {{ compose_form.as_table }}
 <tr>