view gpp/templates/messages/options.html @ 166:8acf5be27f18

Implement #50, add a template tag to display the latest poll and add to the home page.
author Brian Neal <bgneal@gmail.com>
date Sun, 17 Jan 2010 20:24:01 +0000
parents dbd703f7d63a
children d51743322bb2
line wrap: on
line source
{% extends 'messages/base.html' %}
{% block title %}Messages: Options{% endblock %}
{% block options-class %}active{% endblock %}
{% block messages_content %}
<h3>Private Message Options</h3>
{% if messages %}
<ul class="user-messages">
   {% for msg in messages %}
      <li>{{ msg }}</li>
   {% endfor %}
</ul>
{% endif %}
<form action="." method="post">
<table>
{{ form.as_table }}
<tr>
   <td>&nbsp;</td>
   <td>
      <input type="submit" name="submit_button" value="Save" />
      <input type="submit" name="submit_button" value="Cancel" />
   </td>
</tr>
</table>
</form>
<br />
{% endblock %}