{% extends "authentic2/login.html" %}
{% load gnm %}

{% block login-blocks %}
{% with origin=request|is_coming_for %}
{% for id, login_block in blocks.items %}
<div class="block block-{{id}} block-{{login_block.authenticator.id}} for-{{origin}}">
{% if blocks|length == 1 %}
<h2>Connexion</h2>
{% endif %}
<div>
{{ login_block.content|safe }}
</div>
</div>
{% endfor %}
{% endwith %}
{% endblock %}
