From: Raphaƫl Gertz Date: Wed, 24 Feb 2021 00:42:35 +0000 (+0100) Subject: Update form name X-Git-Tag: 0.2.1~10 X-Git-Url: https://git.rapsys.eu/.gitweb.cgi/airbundle/commitdiff_plain/65b52d487e62e379197cf846e5c5359542e0c01b Update form name --- diff --git a/Resources/views/form/_application.html.twig b/Resources/views/form/_application.html.twig index 127ca8c..c36ba3c 100644 --- a/Resources/views/form/_application.html.twig +++ b/Resources/views/form/_application.html.twig @@ -1,21 +1,21 @@

{% trans %}Application{% endtrans %}

- {{ form_start(application) }} + {{ form_start(forms.application) }}
- {% if application.user is defined %} - {{ form_row(application.user) }} + {% if forms.application.user is defined %} + {{ form_row(forms.application.user) }} {% endif %} - {{ form_row(application.location) }} + {{ form_row(forms.application.location) }} - {{ form_row(application.date) }} + {{ form_row(forms.application.date) }} - {{ form_row(application.slot) }} + {{ form_row(forms.application.slot) }} - {{ form_row(application.submit) }} + {{ form_row(forms.application.submit) }}
{# render csrf token etc .#} -
{{ form_rest(application) }}
- {{ form_end(application) }} + + {{ form_end(forms.application) }}