X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/eb2eb95bfbfe8c777c4192ea434a0e999edf3a51..a98d18bc92d7d28d54c0cc1c1a636c9d79e6a648:/src/wolnelektury/templates/base/superbase.html diff --git a/src/wolnelektury/templates/base/superbase.html b/src/wolnelektury/templates/base/superbase.html index 9c77627e8..176b3c3f4 100644 --- a/src/wolnelektury/templates/base/superbase.html +++ b/src/wolnelektury/templates/base/superbase.html @@ -80,7 +80,7 @@ {% csrf_token %} <input type="hidden" name="language" value="{{ lang.0 }}"/> <button type="submit" lang="{{ lang.0 }}" tabindex="121" - class="{% ifequal lang.0 LANGUAGE_CODE %}active{% endifequal %}">{{ lang.1 }}</button> + class="{% if lang.0 == LANGUAGE_CODE %}active{% endif %}">{{ lang.1 }}</button> </form> {% endfor %} </div>