{% extends "base.html" %}

{% block title %}
  <title>Error Logging in with {{ service_name }} · Quay.io</title>
{% endblock %}

{% block body_content %}
  <div class="container">
    <div class="row">
      <div class="col-md-12">
        <h2 style="margin-bottom: 20px;">There was an error logging in with {{ service_name }}.</h2>

        {% if error_message %}
          <div class="alert alert-danger">{{ error_message }}</div>
        {% endif %}

        {% if user_creation %}
        <div>
          Please register using the <a ng-href="{{ service_url }}/signin" target="_self">registration form</a> to continue.
          You will be able to connect your account to your Quay.io account
          in the user settings.
        </div>
        {% endif %}
      </div>
    </div>

  </div>
{% endblock %}
