2014-01-01 21:17:36 +00:00
|
|
|
{% extends "base.html" %}
|
|
|
|
{% block head %} {% endblock %}
|
|
|
|
{% block content %}
|
|
|
|
<div class="row">
|
2014-01-21 23:17:49 +00:00
|
|
|
<h2>{{ _('Preferences') }}</h2>
|
2014-01-01 21:17:36 +00:00
|
|
|
|
|
|
|
|
2014-01-21 23:59:18 +00:00
|
|
|
<form method="post" action="/preferences" id="search_form">
|
2014-01-01 21:17:36 +00:00
|
|
|
<fieldset>
|
2014-01-21 23:17:49 +00:00
|
|
|
<legend>{{ _('Default categories') }}</legend>
|
2014-01-01 21:17:36 +00:00
|
|
|
<p>
|
|
|
|
{% include 'categories.html' %}
|
|
|
|
</p>
|
|
|
|
</fieldset>
|
2014-01-21 23:59:18 +00:00
|
|
|
<fieldset>
|
|
|
|
<legend>{{ _('Interface language') }}</legend>
|
|
|
|
<p>
|
|
|
|
<select name='locale'>
|
|
|
|
{% for locale_id,locale_name in locales.items() %}
|
|
|
|
<option value={{ locale_id }} {% if locale_id == current_locale %}selected="selected"{% endif %}>{{ locale_name}}</option>
|
|
|
|
{% endfor %}
|
|
|
|
</select>
|
|
|
|
</p>
|
|
|
|
</fieldset>
|
|
|
|
<input type="submit" value="{{ _('save') }}" />
|
|
|
|
</form>
|
2014-01-21 23:17:49 +00:00
|
|
|
<div class="right"><a href="/">{{ _('back') }}</a></div>
|
2014-01-01 21:17:36 +00:00
|
|
|
</div>
|
|
|
|
{% endblock %}
|