25 lines
728 B
Twig
25 lines
728 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.label) }}
|
|
{{ form_row(form.price) }}
|
|
<div class="lg:col-span-2">
|
|
{{ form_row(form.description) }}
|
|
</div>
|
|
{{ form_row(form.dateFrom) }}
|
|
{{ form_row(form.dateTo) }}
|
|
</div>
|
|
<div class="flex justify-between pt-8">
|
|
<a href="{{ path('app_admin_accommodation_edit', { 'id': accommodation.id }) }}#board-services"
|
|
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) }}
|