{% extends '@kohinos/common/layout.html.twig' %} {% block content %}
{% include '@kohinos/block/breadcrumb.html.twig' with {'label' : (form.vars.value.type~'_title')|trans({}, 'flux')} %}

{{ (form.vars.value.type~'_title')|trans({}, 'flux') }} :

{{form_start(form)}} {{ form_errors(form) }} {% if form.montantradio is defined %} {{ form_row(form.montantradio, {attr: {class: 'custom-control custom-radio custom-control-inline kohinos-montant-radio'} }) }} {% endif %} {% if form.montant is defined %} {{ form_row(form.montant) }} {% endif %} {% if form.montantslider is defined %} {{ form_row(form.montantslider) }} {% endif %}

{{ 'Montant choisi'|trans }} :


{% if form.don is defined %} {{ form_row(form.don, {row_attr:{style: 'max-width: 200px;margin: 0 auto;'}}) }}
{% endif %}

{{ 'TOTAL A PAYER'|trans }} :

{% if form.save is defined %} {{ form_widget(form.save) }} {% endif %} {% if form.saveHelloAsso is defined %} {{ form_widget(form.saveHelloAsso) }} {# TODO {% include '@kohinos/common/helloasso_button.html.twig' with { 'name': form.saveHelloAsso.vars.name, 'type': 'submit', 'label': 'Acheter avec' } %} #} {% endif %} {% if form.payOther is defined %} {{ form_widget(form.payOther, {attr: {class: 'btn-secondary'}}) }} {% endif %} {{form_end(form)}}
{% endblock %}