{{ form_start(form, {'attr': {'class': 'container mx-auto w-full lg:w-1/2 xl:w-1/3 bg-gray-100 shadow-lg rounded-lg px-6 py-8'}}) }}
{{ form_label(form.name, 'Nom de la catégorie', {'label_attr': {'class': 'block text-gray-700 text-3xl lg:text-base font-bold mb-2'}}) }} {{ form_widget(form.name, {'attr': {'class': 'shadow appearance-none border rounded w-full py-2 px-3 text-gray-700 text-3xl lg:text-base leading-tight focus:outline-none focus:shadow-outline'}}) }}
{{ form_label(form.description, 'Description', {'label_attr': {'class': 'block text-gray-700 text-3xl lg:text-base font-bold mb-2'}}) }} {{ form_widget(form.description, {'attr': {'class': 'shadow appearance-none border rounded w-full py-2 px-3 text-gray-700 text-3xl lg:text-base leading-tight focus:outline-none focus:shadow-outline'}}) }}
{{ form_label(form.hierarchy, 'Hiérarchie', {'label_attr': {'class': 'block text-gray-700 text-3xl lg:text-base font-bold mb-2'}}) }} {{ form_widget(form.hierarchy, {'attr': {'class': 'form-number shadow appearance-none border rounded w-full py-2 px-3 text-gray-700 text-3xl lg:text-base leading-tight focus:outline-none focus:shadow-outline'}}) }}
{{ form_label(form.imageFile, 'Image', {'label_attr': {'class': 'block text-gray-700 text-3xl lg:text-base font-bold mb-2'}}) }} {{ form_widget(form.imageFile, {'attr': {'class': 'shadow appearance-none border rounded w-full py-2 px-3 text-gray-700 text-3xl lg:text-base leading-tight focus:outline-none focus:shadow-outline'}}) }}
{{ form_end(form) }}