view gpp/templates/messages/options.html @ 149:ab7830b067b3

Implement ticket #40. Added a simple way to search for usernames and then view their profile. Moved this ajax username search feature out of the messages app and into core.
author Brian Neal <bgneal@gmail.com>
date Mon, 14 Dec 2009 05:07:28 +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 %}