{% extends 'layout/base.html' %} {% from 'forms/_form.html' import form_header, form_rows, form_footer %} {% block page_class %}fixed-width-standalone-page{% endblock %} {% block title %} {% trans %}New authentication method{% endtrans %} {% endblock %} {% block content %} {% include 'flashed_messages.html' %}
{% trans provider=identity_info.provider_title -%} You logged in using {{ provider }} for the first time. {%- endtrans %}
{% if not identity_info.email_verified %} {% trans name=user.full_name -%} We have found an existing Indico profile {{ name }} which will be linked with this account once you have verified that {{ emails }} is actually your email address. {%- endtrans %} {% else %} {% trans name=user.full_name -%} We have found an existing Indico profile {{ name }} which will be linked with this account once you click the button below. {%- endtrans %} {% endif %}
{% if must_choose_email %} {{ form_header(form) }} {{ form_rows(form) }} {% call form_footer(form) %} {{ self.buttons() }} {% endcall %} {% else %} {{ form_header(form, i_form=false) }} {% block buttons %} {% trans %}Cancel{% endtrans %} {% if identity_info.email_verified %} {% elif not email_sent %} {% endif %} {% endblock %} {{ form_footer(form, i_form=false) }} {% endif %} {% endblock %}