Mercurial > public > sg101
view gpp/templates/forums/show_form.html @ 479:32cec6cd8808
Refactor RateLimiter so that if Redis is not running, everything still runs normally (minus the rate limiting protection). My assumption that creating a Redis connection would throw an exception if Redis wasn't running was wrong. The exceptions actually occur when you issue a command. This is for #224.
author | Brian Neal <bgneal@gmail.com> |
---|---|
date | Sun, 25 Sep 2011 00:49:05 +0000 |
parents | 72fd300685d5 |
children |
line wrap: on
line source
{% load core_tags %} <form action="." method="post" id="forums_post_form">{% csrf_token %} <fieldset> <legend>{{ legend_text }}</legend> {{ form.as_p }} {% comment_dialogs %} <input type="submit" value="{{ submit_value }}" {% if is_ajax %}id="forums-reply-post"{% endif %} /> <br /> <br /> <fieldset> <legend>Video Attachments</legend> <div id="attachment"></div> </fieldset> </fieldset> </form>