view gpp/templates/messages/options.html @ 146:023132c90021

Another tweak for #30; only show the admin dashboard items if they are non-zero.
author Brian Neal <bgneal@gmail.com>
date Wed, 09 Dec 2009 22:58:05 +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 %}