Mercurial > public > sg101
diff gpp/templates/shoutbox/shoutbox.html @ 194:6a5549c2efb5
Implement #62, add support for CSRF protection.
author | Brian Neal <bgneal@gmail.com> |
---|---|
date | Sat, 03 Apr 2010 20:00:56 +0000 |
parents | e1d1a70d312d |
children | 7ddd60164245 |
line wrap: on
line diff
--- a/gpp/templates/shoutbox/shoutbox.html Sat Apr 03 02:15:04 2010 +0000 +++ b/gpp/templates/shoutbox/shoutbox.html Sat Apr 03 20:00:56 2010 +0000 @@ -13,12 +13,12 @@ <center><a href="{% url shoutbox-history page=1 %}">Shout History</a></center> {% if user.is_authenticated %} <center> -<form action="{% url shoutbox-shout %}" method="post"> +<div> <input type="text" maxlength="2048" size="13" name="msg" value="" id="shoutbox-smiley-input" /> <br /> <input id="shoutbox-submit" type="submit" value="Shout" /> <input id="shoutbox-smilies" type="button" value="Smilies" /> -</form> +</div> <div id="shoutbox-smiley-frame" style="display:none;"> <img id="shoutbox-busy-icon" src="{{ MEDIA_URL }}icons/ajax_busy.gif" alt="Please wait" /> </div>