view gpp/templates/forums/edit_post.html @ 123:3ae999b0c53b

Forums: added a jquery ui dialog of extra smileys.
author Brian Neal <bgneal@gmail.com>
date Sun, 08 Nov 2009 21:15:31 +0000
parents cb72577785df
children 2d299909e074
line wrap: on
line source
{% extends 'base.html' %}
{% block title %}Forums: Edit Post{% endblock %}
{% block custom_js %}{{ form.media }}{% endblock %}
{% block content %}
<h2>Forums: Edit Post</h2>

<h3>
   <a href="{% url forums-index %}">SurfGuitar101 Forum Index</a> &raquo;
   <a href="{% url forums-forum_index slug=forum.slug %}">{{ forum.name }}</a> &raquo;
   <a href="{% url forums-topic_index id=topic.id %}">{{ topic.name }}</a>
</h3>

<div class="forum-block">
<table class="forum-topic" id="forum-topic">
{% include 'forums/display_post.html' %}
</table>

<a name="forum-reply-form"></a>
<form action="." method="post" id="forums-quick-reply">
<fieldset>
<legend>Edit Post</legend>
{{ form.as_p }}
<a href="#" id="more_smileys">
<img src="{{ MEDIA_URL }}icons/emoticon_smile.png" alt="More smileys" title="More smileys" /></a>
<input type="submit" value="Update Post" id="forums-edit-post" />
</fieldset>
</form>
</div>
<div id="smileys_dialog" title="More Smileys">
<img src="{{ MEDIA_URL }}icons/ajax_busy.gif" alt="Loading" id="smiley_busy" />
</div>
{% endblock %}