fix: check field existence before rendering
This commit is contained in:
@@ -217,9 +217,11 @@
|
|||||||
{% endif %}
|
{% endif %}
|
||||||
</div>
|
</div>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
{% if child.parking is defined %}
|
||||||
<div {{ stimulus_target('select-toggle--parking', 'container') }}>
|
<div {{ stimulus_target('select-toggle--parking', 'container') }}>
|
||||||
{{ form_row(child.parking) }}
|
{{ form_row(child.parking) }}
|
||||||
</div>
|
</div>
|
||||||
|
{% endif %}
|
||||||
</div>
|
</div>
|
||||||
{% if not travelData.additionalServicesMutable %}
|
{% if not travelData.additionalServicesMutable %}
|
||||||
<div class="absolute inset-0 cursor-not-allowed"></div>
|
<div class="absolute inset-0 cursor-not-allowed"></div>
|
||||||
|
|||||||
Reference in New Issue
Block a user