{% extends "bds/base.html" %}
{% load i18n %}


{% block content %}

{% for form in forms.values %}
  {% for error in form.non_field_errors %}
    <div class="notification is-danger">
      {{ error }}
    </div>
  {% endfor %}
{% endfor %}

<h1 class="title">{% trans "Création d'un profil" %}</h1>

<div class="container">
  <form action="" method="post">
    {% csrf_token %}

    {% for form in forms.values %}
      {% include "bds/forms/form.html" with form=form errors=False %}
    {% endfor %}

    <div class="field">
      <p class="control">
        <input class="button is-fullwidth" type="submit" value="Enregistrer">
      </p>
    </div>
  </form>
</div>

{% endblock %}
