{{ form_start(form, {'attr': {'id': 'categoryForm'}}) }}
<div class="row mb-3">
<div class="col-12">
{{ form_row(form.nom) }}
</div>
</div>
<button class="mt-2 btn btn-outline-primary">{{ button_label|default('Sauvegarder') }}</button>
{{ form_end(form) }}