2012-04-14 12:52:56 +02:00
|
|
|
|
{% extends "config/base_config.html" %}
|
2012-02-15 12:04:11 +01:00
|
|
|
|
|
|
|
|
|
{% load i18n %}
|
|
|
|
|
|
2012-07-13 00:47:53 +02:00
|
|
|
|
{% block title %}{{ block.super }} – {% trans "General settings" %}{% endblock %}
|
2011-07-31 10:46:29 +02:00
|
|
|
|
|
|
|
|
|
{% block content %}
|
2012-07-16 14:00:29 +02:00
|
|
|
|
<h1>{% trans "General settings" %}</h1>
|
2011-07-31 10:46:29 +02:00
|
|
|
|
<form action="" method="post">{% csrf_token %}
|
2012-04-15 12:39:28 +02:00
|
|
|
|
<fieldset>
|
2012-07-16 14:00:29 +02:00
|
|
|
|
<legend>{% trans "Event" %}</legend>
|
2012-04-15 12:39:28 +02:00
|
|
|
|
{% for field in form %}
|
|
|
|
|
{% if "id_event" in field.label_tag %}
|
|
|
|
|
<p>
|
|
|
|
|
{{ field.errors }}
|
2012-04-15 13:26:01 +02:00
|
|
|
|
{{ field.required }}
|
|
|
|
|
{{ field.label_tag }}
|
|
|
|
|
{{ field }}
|
|
|
|
|
{{ field.help_text }}
|
|
|
|
|
</p>
|
|
|
|
|
{% endif %}
|
|
|
|
|
{% endfor %}
|
|
|
|
|
</fieldset>
|
|
|
|
|
<p></p>
|
|
|
|
|
<fieldset>
|
2012-11-17 22:14:49 +01:00
|
|
|
|
<legend>{% trans "Welcome Widget" %}</legend>
|
2012-04-15 13:26:01 +02:00
|
|
|
|
{% for field in form %}
|
2012-11-17 22:14:49 +01:00
|
|
|
|
{% if "id_welcome" in field.label_tag %}
|
2012-04-15 13:26:01 +02:00
|
|
|
|
<p>
|
|
|
|
|
{{ field.errors }}
|
2012-04-15 12:39:28 +02:00
|
|
|
|
{{ field.required }}
|
|
|
|
|
{{ field.label_tag }}
|
|
|
|
|
{{ field }}
|
|
|
|
|
{{ field.help_text }}
|
|
|
|
|
</p>
|
|
|
|
|
{% endif %}
|
|
|
|
|
{% endfor %}
|
|
|
|
|
</fieldset>
|
|
|
|
|
<p></p>
|
|
|
|
|
<fieldset style="width: 410px;">
|
2012-07-16 14:00:29 +02:00
|
|
|
|
<legend>{% trans "System" %}</legend>
|
2012-04-15 12:39:28 +02:00
|
|
|
|
{% for field in form %}
|
|
|
|
|
{% if "id_system" in field.label_tag %}
|
|
|
|
|
<p>
|
|
|
|
|
{{ field.errors }}
|
|
|
|
|
{{ field.required }}
|
|
|
|
|
{{ field.label_tag }}
|
|
|
|
|
{{ field }}
|
|
|
|
|
{{ field.help_text }}
|
|
|
|
|
</p>
|
|
|
|
|
{% endif %}
|
|
|
|
|
{% endfor %}
|
|
|
|
|
</fieldset>
|
2011-07-31 10:46:29 +02:00
|
|
|
|
<p>
|
2011-11-14 19:33:45 +01:00
|
|
|
|
<button class="button" type="submit">
|
2012-07-16 14:00:29 +02:00
|
|
|
|
<span class="icon ok">{% trans 'Save' %}</span>
|
2011-07-31 10:46:29 +02:00
|
|
|
|
</button>
|
2012-12-14 15:10:14 +01:00
|
|
|
|
<a href="{% url 'config_general' %}">
|
|
|
|
|
<button class="button" type="button" onclick="window.location='{% url 'config_general' %}'">
|
2012-07-16 14:00:29 +02:00
|
|
|
|
<span class="icon cancel">{% trans 'Cancel' %}</span>
|
2011-11-14 19:33:45 +01:00
|
|
|
|
</button>
|
2011-07-31 10:46:29 +02:00
|
|
|
|
</a>
|
|
|
|
|
</p>
|
|
|
|
|
</form>
|
|
|
|
|
{% endblock %}
|