diff options
author | RaNaN <Mast3rRaNaN@hotmail.de> | 2010-08-02 13:44:26 +0200 |
---|---|---|
committer | RaNaN <Mast3rRaNaN@hotmail.de> | 2010-08-02 13:44:26 +0200 |
commit | a5fddf6006f69a2540fa002bed125e9b90d1be08 (patch) | |
tree | fc13678169f184a1a6b1ffe4088790ed5addfb14 /module/web/templates | |
parent | reconnect fix (diff) | |
download | pyload-a5fddf6006f69a2540fa002bed125e9b90d1be08.tar.xz |
settings fix
Diffstat (limited to 'module/web/templates')
-rw-r--r-- | module/web/templates/default/settings.html | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/module/web/templates/default/settings.html b/module/web/templates/default/settings.html index 07c87a936..d9aef5303 100644 --- a/module/web/templates/default/settings.html +++ b/module/web/templates/default/settings.html @@ -1,5 +1,6 @@ {% extends 'default/base.html' %} {% load i18n %} +{% load contains %} {% block title %}{% trans "Config" %} - {{block.super}} {% endblock %} {% block subtitle %}{% trans "Config" %}{% endblock %} @@ -49,7 +50,7 @@ <option {% if not option.value %} selected="selected" {% endif %}value="False">{% trans "off" %}</option> </select> {% else %} - {% if ";" in option.typ %} + {% if option.typ|contains:";" %} <select id="{{skey}}|{{okey}}" name="{{skey}}|{{okey}}"> {% for entry in option.list %} <option {% ifequal option.value entry %} selected="selected" {% endifequal %}>{{entry}}</option> |