{% extends 'Default/base.html.twig' %} {% block title %} {{'PresentielleSession.T13' | trans}} {% endblock %} {% block breadcrumb1 %} {{'PresentielleSession.T14' | trans}} {% endblock %} {% block breadcrumb2 %} {{'PresentielleSession.T15' | trans}} {% endblock %} {% block content %}
{{'PresentielleSession.T16' | trans}} {{ form_start(form, {'method': 'post', 'attr' : {'id' : 'formSessionPresentiel'}}) }}
{{ form_widget(form.name, { 'attr': {'class': 'form-control', 'required' : 'true', 'placeholder' : 'PresentielleSession.T18' | trans }}) }}
{% if app.request.locale == 'ar' %}
{{ form_widget(form.endDate, { 'attr': {'class': 'form-control input-group', 'placeholder' : 'PresentielleSession.T21' | trans }}) }} {{ form_widget(form.startDate, { 'attr': {'class': 'form-control input-group', 'required' : 'true', 'placeholder' : 'PresentielleSession.T20' | trans }}) }}
{% else %}
{{ form_widget(form.startDate, { 'attr': {'class': 'form-control input-group', 'required' : 'true', 'placeholder' : 'PresentielleSession.T20' | trans }}) }} {{ form_widget(form.endDate, { 'attr': {'class': 'form-control input-group', 'placeholder' : 'PresentielleSession.T21' | trans }}) }}
{% endif %}
{{ form_widget(form.time, { 'attr': {'class': 'form-control', 'required' : 'true', 'id' : 'timepicker-default', 'value' : 0, }}) }}
{{ form_widget(form.formateur,{'attr': {'class': 'js-example-basic-single js-states form-control'}}) }}
{{ form_widget(form.categorie,{'attr': {'class': 'js-example-basic-single js-states form-control'}}) }}
{{ form_widget(form.formation,{'attr': {'class': 'js-example-basic-single js-states form-control', '' : ''}}) }}
{% if app.request.locale == 'ar' %} {% else %} {% endif %}
{{ form_end(form) }}
{% endblock %} {% block javascripts %} {{ parent() }} {% endblock %}