Mercurial > agora
view templates/snippet/userprefs.djhtml @ 190:a4f88ac85837
Changes: Now guest users cannot see revision history and they also cannot see snippets posted by registered users. To see snippets posted by registered users, one has to login.
author | ahsanalishahid <ahsan.ali.shahid@gmail.com> |
---|---|
date | Thu, 20 Jun 2013 17:17:16 +0500 |
parents | b7c1c22fdfe8 |
children |
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 %}