Mercurial > public > sg101
view gpp/templates/bulletins/bulletins.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 | 04377c5bf912 |
children |
line wrap: on
line source
{% load humanize %} {% for bulletin in bulletins %} <div class="bulletin" id="bulletin-{{ bulletin.id }}"> <h3>{{ bulletin.title }}</h3> <div class="bulletin-text"> {{ bulletin.text|safe }} </div> <p class="bulletin-meta">Posted: {{ bulletin.start_date|naturalday|capfirst }} {{ bulletin.start_date|date:"H:i" }}.</p> </div> {% endfor %}