{% import '_form_macros.html.twig' as f %} {{ form_start(form, {attr: {novalidate: 'novalidate', class: 'rounded-2xl bg-surface border border-line p-5'}}) }} {{ f.errors_summary(form) }} {{ f.section('Abonnement') }}
{{ f.field(form.label, 2) }} {{ f.field(form.amount) }} {{ f.field(form.frequency) }} {{ f.field(form.paidBy) }}
{{ f.toggle(form.active) }}
{{ f.section('Notes') }}
{{ f.field(form.notes) }}
{{ f.actions(path('app_subscription_index')) }} {{ form_end(form) }}