]> Raphaël G. Git Repositories - airbundle/commitdiff
New page title schema
authorRaphaël Gertz <git@rapsys.eu>
Sat, 28 Aug 2021 08:11:23 +0000 (10:11 +0200)
committerRaphaël Gertz <git@rapsys.eu>
Sat, 28 Aug 2021 08:11:23 +0000 (10:11 +0200)
Add dance field

Resources/views/application/add.html.twig
Resources/views/form/_application.html.twig

index 42acb0797f2569448692cbd5ce3339b80e0281b0..b6239deadde46211e234de94d45a42d6e49a265b 100644 (file)
@@ -1,13 +1,15 @@
 {% extends '@RapsysAir/body.html.twig' %}
 {% block content %}
        <section id="form">
-               <h2>{{ section }}</h2>
+               <h2>{{ title }}</h2>
                {{ form_start(form) }}
                        <div>
                                {% if form.user is defined %}
                                        {{ form_row(form.user) }}
                                {% endif %}
 
+                               {{ form_row(form.dance) }}
+
                                {{ form_row(form.location) }}
 
                                {{ form_row(form.date) }}
index c36ba3c1a6106860b5dcba3fcbec1cb4e6486af8..82fe510652c81d145350768561cccd72968affaa 100644 (file)
@@ -6,6 +6,8 @@
                                {{ form_row(forms.application.user) }}
                        {% endif %}
 
+                       {{ form_row(forms.application.dance) }}
+
                        {{ form_row(forms.application.location) }}
 
                        {{ form_row(forms.application.date) }}