pull/684/head
Louis Vézina 5 years ago
parent 4504c025af
commit 74b2787ac3

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

Loading…
Cancel
Save