|
|
@ -105,9 +105,9 @@
|
|
|
|
<option value="">Languages</option>
|
|
|
|
<option value="">Languages</option>
|
|
|
|
%enabled_languages = []
|
|
|
|
%enabled_languages = []
|
|
|
|
%for language in settings_languages:
|
|
|
|
%for language in settings_languages:
|
|
|
|
<option value="{{language.code2}}">{{language.name}}</option>
|
|
|
|
<option value="{{language['code2']}}">{{language['name']}}</option>
|
|
|
|
%if language.enabled == True:
|
|
|
|
%if language['enabled'] == True:
|
|
|
|
% enabled_languages.append(str(language.code2))
|
|
|
|
% enabled_languages.append(str(language['code2']))
|
|
|
|
%end
|
|
|
|
%end
|
|
|
|
%end
|
|
|
|
%end
|
|
|
|
</select>
|
|
|
|
</select>
|
|
|
|