{# This file is part of the Sonata package. (c) Thomas Rabaix For the full copyright and license information, please view the LICENSE file that was distributed with this source code. #} {% block sonata_type_datetime_picker_widget_html %}
{% set attr = attr|merge({ 'data-td-target': '#' ~ id ~ '_controller', }) %} {{ block('datetime_widget') }} {% if datepicker_use_button %} {% endif %}
{% endblock sonata_type_datetime_picker_widget_html %} {% block sonata_type_datetime_picker_widget %} {% apply spaceless %} {% if wrap_fields_with_addons %}
{{ block('sonata_type_datetime_picker_widget_html') }}
{% else %} {{ block('sonata_type_datetime_picker_widget_html') }} {% endif %} {% endapply %} {% endblock sonata_type_datetime_picker_widget %}