X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/bea8ac13e42fc53e2e2151503fa2a6a467b79844..739f55be14e161e485b2107b628689c4f01ded6b:/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>