{% extends "layout.html" %} {% block page_title %}Index Page{% endblock %} {% block body %} {% for article in articles %} {% if article.published %}

{{ article.title }}

written by {{ article.user.username }} on {{ article.pub_date|dateformat }}

{{ article.body|safe }}
{% endif %} {% endfor %} {% form %}
Name
{% input_field 'name' %}
E-Mail
{% input_field 'email' %}
URL
{% input_field 'url' %}
Comment
{% textarea 'comment' %}
Captcha
{% input_field 'captcha' %}
{% input_field '' 'submit' 'Submit' %} {% input_field 'cancel' 'submit' 'Cancel' %} {% endform %} {% endblock %}