git-svn-id: http://78.47.251.156/svn/dev/sterntours-3@3354 f459cee4-fb09-11de-96c3-f9c5f16c3c76
57 lines
No EOL
2.3 KiB
Twig
57 lines
No EOL
2.3 KiB
Twig
{% extends 'admin.html.twig' %}
|
|
{% form_theme form 'default/form/theme.html.twig' %}
|
|
|
|
{% block body %}
|
|
<section class="clearfix">
|
|
<div class="content-copy">
|
|
<h1>Neues Objekt anlegen</h1>
|
|
|
|
<form class="st-booking-form" method="post">
|
|
|
|
{{ form_errors(form) }}
|
|
|
|
<div id="message"></div>
|
|
|
|
<div class="form-box">
|
|
|
|
{{ form_row(form.name, {label: 'Name'}) }}
|
|
{{ form_row(form.type, {label: 'Typ'}) }}
|
|
{{ form_row(form.description, {label: 'Beschreibung'}) }}
|
|
{{ form_row(form.equipment, {label: 'Ausstattung'}) }}
|
|
{{ form_row(form.adress1, {label: 'Adresse 1'}) }}
|
|
{{ form_row(form.adress2, {label: 'Adresse 2'}) }}
|
|
{{ form_row(form.zipCode, {label: 'PLZ'}) }}
|
|
{{ form_row(form.city, {label: 'Ort'}) }}
|
|
{{ form_row(form.maximumPersons, {label: 'Maximale Personenanzahl'}) }}
|
|
{{ form_row(form.deposit, {label: 'Kaution'}) }}
|
|
{#{{ form_row(form.onlyWeekday, {label: 'Exklusiver Wochentag'}) }}#}
|
|
|
|
{#
|
|
<div class="checkbox">
|
|
{{ form_widget(form.calendarVisible) }}
|
|
<label for="{{ form.calendarVisible.vars.id }}">
|
|
Kalender sichtbar
|
|
</label>
|
|
{{ form_errors(form.calendarVisible) }}
|
|
</div>
|
|
#}
|
|
|
|
<div class="col-md-12 col-sm-12 col-xs-12">
|
|
<button type="submit" value="SEND" id="submit"
|
|
class="btn btn-primary btn-lg border-radius"
|
|
>
|
|
Speichern
|
|
</button>
|
|
</div>
|
|
</div><!-- end form-box -->
|
|
{{ form_rest(form) }}
|
|
</form>
|
|
<a href="/admin/fewo/lodgings"
|
|
class="btn btn-primary"
|
|
rel="nofollow"
|
|
>
|
|
Zurück
|
|
</a>
|
|
</div>
|
|
</section><!-- end section -->
|
|
{% endblock body %} |