{% extends "authentic2/base-page.html" %}
{% load i18n %}

{% block title %}
{% trans "Registration" %}
{% endblock %}

{% block extra-body-class %}{{ block.super }} registration-page{% endblock %}

{% block placeholder-content %}
{% include "authentic2/service_info_fragment.html" %}

{% block registration-pre %}{% endblock %}
<div id="registration-blocks" class="methods{{frontends.items|length}}">
{% block registration-top %}{% endblock %}

{% block registration-other-methods %}
{% for id, block in frontends.items %}
   {% if id == "password" %}
      <div id="frontend-registration-email" class="a2-block">
       {{ block.content|safe }}
   {% else %}
      <div id="frontend-registration-{{ id }}" class="a2-block">
        <h2>{{ block.name }}</h2>
        <div>
          {{ block.content|safe }}
        </div>
   {% endif %}
  </div>
{% endfor %}
{% endblock %}

{% block registration-bottom %}{% endblock %}
</div> <!-- #registration-blocks -->
{% block registration-post %}{% endblock %}

{% endblock %}
