templates/app/payment/edit-modal.html.twig line 1
<div
id="edit-modal"
class="modal fade"
tabindex="-1"
role="dialog"
aria-labelledby="edit-modal-label"
aria-hidden="true"
data-bs-backdrop="static"
data-bs-keyboard="true"
>
<div class="modal-dialog modal-md">
{{ form_start(edit_form) }}
<div class="modal-content">
<div class="modal-header">
<h5 class="modal-title" id="add-modal-label">
{% trans %} Modifier le paiement {% endtrans %}
</h5>
<button
type="button"
class="btn-close"
data-bs-dismiss="modal"
aria-label="Close"
></button>
</div>
<div class="modal-body">
<input type="hidden" id="payment_type_edit_id" name="payment[id]" />
<input
type="hidden"
name="payment_type_edit[_token]"
value="{{ csrf_token('payment_type_edit') }}"
/>
<div class="row mb-4">
<label
for="horizontal-subscription-input"
class="col-sm-3 col-form-label"
>
{{ form_label(edit_form.subscription) }}
</label>
<div class="col-sm-9">
{{ form_widget(edit_form.subscription) }}
<div class="text-danger" style="margin-top: 0.25rem">
<small>{{ form_errors(edit_form.subscription) }}</small>
</div>
<div class="text-info" style="margin-top: 0.25rem">
<small>{{ form_help(edit_form.subscription) }}</small>
</div>
</div>
</div>
<div class="row mb-4">
<label
for="horizontal-payed_by-input"
class="col-sm-3 col-form-label"
>
{{ form_label(edit_form.payed_by) }}
</label>
<div class="col-sm-9">
{{ form_widget(edit_form.payed_by) }}
<div class="text-danger" style="margin-top: 0.25rem">
<small>{{ form_errors(edit_form.payed_by) }}</small>
</div>
<div class="text-info" style="margin-top: 0.25rem">
<small>{{ form_help(edit_form.payed_by) }}</small>
</div>
</div>
</div>
<div class="row mb-4">
<label for="horizontal-amount-input" class="col-sm-3 col-form-label">
{{ form_label(edit_form.amount) }}
</label>
<div class="col-sm-9">
{{ form_widget(edit_form.amount) }}
<div class="text-danger" style="margin-top: 0.25rem">
<small>{{ form_errors(edit_form.amount) }}</small>
</div>
<div class="text-info" style="margin-top: 0.25rem">
<small>{{ form_help(edit_form.amount) }}</small>
</div>
</div>
</div>
<div class="row mb-4">
<label for="horizontal-date-input" class="col-sm-3 col-form-label">
{{ form_label(edit_form.date) }}
</label>
<div class="col-sm-9">
{{ form_widget(edit_form.date) }}
<div class="text-danger" style="margin-top: 0.25rem">
<small>{{ form_errors(edit_form.date) }}</small>
</div>
<div class="text-info" style="margin-top: 0.25rem">
<small>{{ form_help(edit_form.date) }}</small>
</div>
</div>
</div>
<div class="row mb-4">
<label
for="horizontal-description-input"
class="col-sm-3 col-form-label"
>
{{ form_label(edit_form.description) }}
</label>
<div class="col-sm-9">
{{ form_widget(edit_form.description) }}
<div class="text-danger" style="margin-top: 0.25rem">
<small>{{ form_errors(edit_form.description) }}</small>
</div>
<div class="text-info" style="margin-top: 0.25rem">
<small>{{ form_help(edit_form.description) }}</small>
</div>
</div>
</div>
</div>
<div class="modal-footer">
<button
type="button"
class="btn btn-secondary waves-effect"
data-bs-dismiss="modal"
>
{% trans %} Annuler {% endtrans %}
</button>
<button type="submit" class="btn btn-primary waves-effect waves-light">
{% trans %} Sauvegarder {% endtrans %}
</button>
</div>
</div>
{{ form_end(edit_form) }}
</div>
</div>