view templates/snippet/userprefs.djhtml @ 44:f697817182d1

Rename .html snippets to .djhtml
author Jordi Gutiérrez Hermoso <jordigh@gmail.com>
date Sat, 31 Jul 2010 16:58:08 -0500
parents templates/snippet/userprefs.html@ab608f27ecd5
children b7c1c22fdfe8
line wrap: on
line source

{% extends "snippet/base.djhtml" %}
{% load i18n %}

{% block headline %}
    <h1>{% trans "User Settings" %}</h1>
{% endblock %}

{% block content %}
    {% if settings_saved %}
    <div class="success">
        {% trans "USER_PREFS_SAVED_SUCCESSFULLY" %}
    </div>
    {% endif %}

    <h2>{% trans "User Settings" %}</h2>

    <form class="snippetform" method="post" action=".">
    <ol>
        {{ settings_form.as_ul }}
        <li class="submit"><input type="submit" value="{% trans "Save settings" %}"/></li>
    </ol>
    </form>

    <div class="hint">
        {% trans "DATA_STORED_IN_A_COOKIE_HINT" %}
    </div>
{% endblock %}