{% extends 'AppBundle:Admin:CRUD\\Page\\Layout\\page_layout.html.twig' %} {% import 'AppBundle:Admin:Form\\macro_form.html.twig' as macro_form %} {% block stylesheets %} {{ parent() }} {% stylesheets filter='?uglifycss, cssrewrite' '@app_calendar_css' %} {% endstylesheets %} {% endblock stylesheets %} {% block javascripts %} {{ parent() }} {% javascripts filter='?uglifyjs2' '@app_calendar_js' %} {% endjavascripts %} {% endblock javascripts %} {% block sonata_admin_content %}
{{ 'title.filter'|trans({}, translationDomain) }}
{{ form_start(form, { 'style': 'horizontal', 'attr': {'class': 'form_calendar_filter'} }) }} {% if form.group is defined %} {{ macro_form.form_row_multiple_one_line([ form.group, form.user, ], [ 'col-lg-12', 'col-lg-12' ]) }} {% else %} {{ macro_form.form_row_multiple_one_line([ form.user ], [ 'col-lg-12' ]) }} {% endif %} {% if form.calendar|length > 0 %}

{% for child in form.calendar %}
{{ form_widget(child) }}
{% endfor %}
{% endif %}
{{ form_end(form) }}
{{ 'title.calendar'|trans({}, translationDomain) }}
{% if google_api.api_key is not empty %}
{% endif %}
{% endblock %}