25 lines
857 B
Twig
25 lines
857 B
Twig
{% form_theme form 'forms_admin.html.twig' %}
|
|
|
|
{{ form_start(form) }}
|
|
<div class="grid lg:grid-cols-2 gap-y-4 lg:gap-x-8">
|
|
{{ form_row(form.dateFrom) }}
|
|
{{ form_row(form.dateTo) }}
|
|
{{ form_row(form.pricePerNight) }}
|
|
{{ form_row(form.pricePerNightOverride) }}
|
|
{{ form_row(form.priceAdditionalPerson) }}
|
|
{{ form_row(form.priceAdditionalPersonOverride) }}
|
|
{{ form_row(form.includedPax) }}
|
|
{{ form_row(form.minNights) }}
|
|
{{ form_row(form.acceptUndersubscription) }}
|
|
</div>
|
|
<div class="flex justify-between pt-8">
|
|
<a href="{{ path('app_admin_accommodation_edit', { 'id': accommodation.id }) }}" class="button button--secondary button--small">
|
|
zurück
|
|
</a>
|
|
<button type="submit" class="button button--primary button--small">
|
|
speichern
|
|
</button>
|
|
</div>
|
|
{{ form_rest(form) }}
|
|
{{ form_end(form) }}
|