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

{% block title %}
{{ view.title }}
{% endblock %}

{% load breadcrumbs %}
{% block breadcrumbs %}
{{ block.super }}
{% breadcrumb_url 'Register' %}
{% endblock %}

{% block content %}

<h2>{{ view.title }}</h2>

<form method="post">
  {% csrf_token %}
  {{ form.as_p }}
  <button class="submit-button">{% trans 'Submit' %}</button>
</form>

{% for id, block in frontends.items %}
  <div class="registration_frontend">
    <h2>{{ block.name }}</h2>
    <p>
      {{ block.content|safe }}
    </p>
  </div>
{% endfor %}

{% endblock %}
