{% extends "management/base.html" %} {% load form_tags i18n %} {% block breadcrumbs_wrapper %} {% endblock breadcrumbs_wrapper %} {% block container %} {% if use_adfs and user.is_authenticated %} {% trans 'Select profile' %} {% trans 'You are now authenticated.' %} {% trans 'Select the profile for your user, each profile has different privileges.' %} {% else %} {% trans 'Authentication' %} {% if use_adfs %} {% trans 'Login required.' %} {% trans 'Make external login to access Election management system.' %} {% endif %} {% endif %} {% if use_adfs and not user.is_authenticated %} {% trans 'Login' %} {% else %} {% csrf_token %} {% if not use_adfs %} {% prepare_field form.email "fi-email" True %} {% prepare_field form.password "fi-lock" True %} {% endif %} {{ form.profile }} {% endif %} {% endblock container %}