wip: first working version
This commit is contained in:
@@ -2,6 +2,14 @@
|
||||
|
||||
{% block content %}
|
||||
{{ form_start(form) }}
|
||||
{% if not form.vars.valid %}
|
||||
<article>
|
||||
<header>
|
||||
<strong>Fehler</strong>
|
||||
</header>
|
||||
{{ form_errors(form) }}
|
||||
</article>
|
||||
{% endif %}
|
||||
{% for child in form.participants %}
|
||||
{% set participant = child.vars.data %}
|
||||
<details{% if not child.vars.valid %} open{% endif %}>
|
||||
@@ -57,6 +65,9 @@
|
||||
<fieldset class="grid">
|
||||
{{ form_row(child.transportationServiceTo) }}
|
||||
{{ form_row(child.transportationServiceFro) }}
|
||||
{% if child.pickup is defined %}
|
||||
{{ form_row(child.pickup) }}
|
||||
{% endif %}
|
||||
</fieldset>
|
||||
</details>
|
||||
{% endfor %}
|
||||
|
||||
Reference in New Issue
Block a user