view gpp/templates/messages/compose.html @ 20:c0d0779b266f

Created a template tag for the latest weblinks: latest_weblinks. This necessitated adding a get_absolute_url function for the Link model along with a new view for it.
author Brian Neal <bgneal@gmail.com>
date Sun, 19 Apr 2009 20:41:37 +0000
parents dbd703f7d63a
children c515b7401078
line wrap: on
line source
{% extends 'messages/base.html' %}
{% block title %}Messages: Compose{% endblock %}
{% block custom_js %}
   {{ compose_form.media }}
{% endblock %}
{% block compose-class %}class="active"{% endblock %}
{% block messages_content %}
<h3>Compose Message</h3>
<form action="." method="post">
<table>
{{ compose_form.as_table }}
<tr>
   <td>&nbsp;</td>
   <td>
      <input type="submit" name="submit_button" value="Send" />
      <input type="submit" name="submit_button" value="Cancel" />
   </td>
</tr>
</table>
</form>
<br />
{% endblock %}