init without trunk
This commit is contained in:
parent
ed24ac4994
commit
bb809e7233
14652 changed files with 177862 additions and 94817 deletions
|
|
@ -0,0 +1,19 @@
|
|||
{# @var travelOption \AppBundle\Entity\TravelOption #}
|
||||
<div class="checkbox">
|
||||
{{ form_widget(travelOptionForm) }}
|
||||
<label for="{{ travelOptionForm.vars.id }}">
|
||||
{{ travelOption.name }} (p.P {{ travelOption.price|number_format(2) }} €)
|
||||
{% if travelOption.description is not empty %}
|
||||
<br class="visible-xs">
|
||||
(<a href="#" data-toggle="modal" data-target="#st-booking-option-{{ travelOption.id }}-modal">Details</a>)
|
||||
{% endif %}
|
||||
</label>
|
||||
{% if travelOption.description is not empty %}
|
||||
{% embed "default/components/embed/modal.html.twig" with {
|
||||
'title': travelOption.name,
|
||||
'id': 'booking-option-' ~ travelOption.id
|
||||
} %}
|
||||
{% block body %}{{ travelOption.description|raw }}{% endblock %}
|
||||
{% endembed %}
|
||||
{% endif %}
|
||||
</div>
|
||||
Loading…
Add table
Add a link
Reference in a new issue