{% extends "account/base.html" %}
{% load static i18n widget_tweaks socialaccount %}

{% block head_title %}
  {% if process == "connect" %}
    {% blocktrans with provider.name as provider %}Connect {{ provider }}{% endblocktrans %}
  {% else %}
    {% blocktrans with provider.name as provider %}Sign In Via {{ provider }}{% endblocktrans %}
  {% endif %}
{% endblock%}

{% block auth_title %}
  {% if process == "connect" %}
    {% blocktrans with provider.name as provider %}Connect {{ provider }}{% endblocktrans %}
  {% else %}
    {% blocktrans with provider.name as provider %}Sign In Via {{ provider }}{% endblocktrans %}
  {% endif %}
{% endblock%}

{% block auth_body %}
  {% if process == "connect" %}
    <p class="text-center small">{% blocktrans with provider.name as provider %}You are about to connect a new third party account from {{ provider }}.{% endblocktrans %}</p>
  {% else %}
    <p class="text-center small">{% blocktrans with provider.name as provider %}You are about to sign in using a third party account from {{ provider }}.{% endblocktrans %}</p>
  {% endif %}
  <form method="post">
    {% csrf_token %}
    <button class="btn btn-primary w-100 mb-3" type="submit">{% trans "Continue" %}</button>
  </form>
{% endblock %}
