{% extends "@AdminLTE/layout/form-theme.html.twig" %} {# Adds the help icon, including a link to the documentation #} {% block form_label %} {% if form.vars.docu_chapter is defined and form.vars.docu_chapter is not empty %} {% endif %} {{ parent() }} {% endblock form_label %} {% block daterange_widget %}
{% set attr = attr|merge({'data-daterangepickerenable':'on'}) %} {{ block('form_widget_simple') }}
{% endblock daterange_widget %} {% block duration_widget %} {% if form.vars.duration_presets is defined and form.vars.duration_presets is not empty %}
{{ block('form_widget_simple') }}
{% else %} {{ block('form_widget_simple') }} {% endif %} {% endblock duration_widget %} {% block datetime_widget -%}
{{ block('form_widget_simple') }}
{%- endblock datetime_widget %} {% block date_widget -%}
{{ block('form_widget_simple') }}
{%- endblock date_widget %} {% block text_widget -%} {% if icon is not empty %}
{{ block('form_widget_simple') }}
{% else %} {{ block('form_widget_simple') }} {% endif %} {%- endblock text_widget %} {% block yearpicker_widget -%}
{% if show_range %} {{ year|date_short }} – {{ nextYear|date_short }} {% else %} {{ year|date_format('Y') }} {% endif %}
{{ block('hidden_widget') }} {%- endblock yearpicker_widget %} {% block monthpicker_widget -%}
{{ month|month_name(true) }}
{{ block('hidden_widget') }} {%- endblock monthpicker_widget %} {% block weekpicker_widget -%}
{{ 'stats.workingTimeWeek'|trans({'%week%': week|date_format('W')}) }}
{{ block('hidden_widget') }} {%- endblock weekpicker_widget %}