/usr/share/doc/python3-jinja2/examples/rwbench/django
NameSizeModeActions
index.html9360644editdlrm
layout.html8710644editdlrm
_form.html680644editdlrm
_input_field.html640644editdlrm
_textarea.html870644editdlrm
Edit: /usr/share/doc/python3-jinja2/examples/rwbench/django/index.html (936B)
{% 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 %}