{% 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.' %}
{% csrf_token %}
{{ form.profile }}
{% elif not user.is_authenticated %}

{% trans 'Authentication' %}

{% if use_adfs %}
{% trans 'Login required.' %}
{% trans 'Make external login to access Election management system.' %}
{% trans 'Login' %}
{% else %}
{% csrf_token %} {% prepare_field form.email "fi-email" True %} {% prepare_field form.password "fi-lock" True %}
{{ form.profile }}
{% endif %} {% endif %}
{% endblock container %}