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

{% block blocktitle %}
	<i class="fa fa-shopping-basket mr-4"></i> {{'Achat de monnaie locale'|trans }}
{% endblock blocktitle %}
{% block blockcontent %}
	{% set form = getAchatMonnaieAdherentForm(app.user) %}

	{{form_start(form)}}
		{{ form_errors(form) }}

		{{ form_row(form.montantradio, {attr: {class: 'custom-control custom-radio custom-control-inline kohinos-montant-radio'} }) }}
		{{ form_row(form.montant) }}

		<p>Montant choisi : <span class="achat_monnaie_montant_choisi">{{ form.montantradio.vars.value }} €</span></p>

    	{{ form_row(form.save)}}
    	{{ form_row(form.payOther, {attr: {class: 'btn-secondary'}})}}

	{{form_end(form)}}
{% endblock blockcontent %}
