{{ form_start(form, {'attr': { 'class': 'space-y-4 w-full p-2', 'data-action': 'live#action:prevent', 'data-live-action-param': 'save', 'data-model': 'norender|*' } }) }}
{{ form_widget(form.type, { 'attr': {'class': 'input-style w-68'} }) }}
{{ form_errors(form.type) }}
{{ form_widget(form.date, { 'attr': {'class': 'input-style'} }) }}
{{ form_errors(form.date) }}
{{ form_widget(form.nextAppointment, { 'attr': {'class': 'input-style'} }) }}
{{ form_errors(form.nextAppointment) }}
{{ form_widget(form.farrier, { 'attr': {'class': 'input-style w-1/2'} }) }}
{{ form_errors(form.farrier) }}
{{ form_widget(form.details, { 'attr': {'class': 'input-style w-3/4'} }) }}
{{ form_errors(form.details) }}
{{ form_end(form) }}