{% extends "base.html" %} {% load bootstrap3 %} {% block content %}

Template: {{ template }}

Meta information

Title
{{ template.title }}
Group
{{ template.group }}
Template type
{{ template.type.name }} {% if template.type.slug == "rst" %}

This template uses the syntax of reStructuredText. Get a quick reference at http://docutils.sourceforge.net/docs/user/rst/quickref.html.

You can do variable interpolation with $varialbe if the template allows any variable.

{% endif %} {% if template.type.slug == "django" %}

This template uses the syntax of the default django template framework. Get more info at https://docs.djangoproject.com/en/dev/topics/templates/.

You can do variable interpolation with the current django markup {{variable}} if the template allows any variable.

{% endif %} {% if template.type.slug == "plain" %}

This template uses plain text, so no markup is used. You can do variable interpolation with $variable if the template allows any variable.

{% endif %}
{% if template.variables %}
Variables allowed in this template
{{ template.variables|linebreaks }}
{% endif %}

Edit template content

{% csrf_token %} {% bootstrap_form form %} {% buttons %} {% endbuttons %}
{% endblock content %}