{% if user.is_authenticated %} {% include "cms_qe/auth/login_already.html" %} {% else %} {% include "cms_qe/auth/login_form.html" %} {% endif %}