{% extends '@kohinos/block/onetransaction.html.twig' %}

{% block blocktitle %}
	<i class="fa fa-gift fa-gift-alt mr-4"></i> {{ 'L\'habitant souhaite faire un DON'|trans }}
{% endblock blocktitle %}
{% block blockcontent %}
	{% if app.session.has('_comptoirgere') %}
		{% set form = getComptoirEncaisserDonAdherentForm(app.user) %}
		{{ form_start(form) }}
			{{ form_row(form.expediteur) }}
			{{ form_row(form.montant) }}
			{{ form_row(form.moyen) }}
			{{ form_row(form.save) }}
			{{ parent() }}
		{{ form_end(form) }}
	{% else %}
		<span><em> {{ 'Aucun Comptoir assigné ! Veuillez contacter un administrateur !'|trans }} </em></span>
	{% endif %}
{% endblock blockcontent %}