{% extends 'basecaro.html.twig' %} {% block body %}

Location Entrepot - parking minimum 3 mois

{#

Startdate : {% if startDate|date('d-m-Y') is not empty %} le {{ startDate|date('d-m-Y') }} {% else %} startDate vide {% endif %}

Enddate : {% if endDate|date('d-m-Y') is not empty %} le {{ endDate|date('d-m-Y') }} {% else %} endDate vide {% endif %}

MoisRecurring : {{ isMoisRecurring ? 'Yes' : 'No' }}

Departement : {{ departement }}

recurrent : {{ recurrent }}

connexion : {{ connexion ? 'Yes' : 'No' }}

#}
{{ form_start(form) }}
{{ form_errors(form) }}
{% if isMoisRecurring %} Saississez vos choix et ensuite Validez :

{{ form_row(form.departement, {'label': 'Departement:'}) }} {{ form_row(form.startDate , {'label': 'Date debut:'}) }} {{ form_row(form.recurrent , {'label': 'Mensuel ? :'}) }} {% else %}

choix location dates precises

{{ form_row(form.departement, {'label': 'Departement:'}) }} {{ form_row(form.startDate, {'label': 'Date debut :'}) }} {{ form_row(form.endDate, {'label': 'Date fin:'}) }} {{ form_row(form.recurrent) }} {% endif %}
{% if isMoisRecurring == true %} Re-init {% else %} Re-init {% endif %}
{% for message in app.flashes('success') %} {% endfor %} {% for message in app.flashes('danger') %} {% endfor %} {% for message in app.flashes('info') %} {% endfor %} {% for message in app.flashes('warning') %} {% endfor %}
{{ form_row(form._token) }} {{ form_end(form, {render_rest: false}) }} {# {{ form_end(form) }} #}

Type de Hangar ou Garage

{% if types|length > 1 %}

Les {{ types|length }} modèles

{% endif %} {% else %}

Oops !

Aucun Hangar disponible ! Des dates différentes peuvent donner de nouveaux résultats!

{% endif %}
{% endblock %} {% block javascripts %} {# $('#input').datepicker({ minDate: new Date($.datepicker.parseDate('yy-mm-dd', $('#input').val())) }); #} {% endblock %}