{% extends 'page_setup.html.twig' %} {% block page_class %}quick-entry-page{% endblock %} {% block main %} {% embed '@theme/embeds/card.html.twig' %} {% import "macros/widgets.html.twig" as widgets %} {% block box_attributes %}id="quick_entry_box"{% endblock %} {% block box_class %}mt-2{% endblock %} {% block box_before %} {{ form_start(form, {attr: {id: 'quick-entries-form', class: 'form-dataTable quick-entries'}}) }} {{ form_widget(form._token) }} {{ form_errors(form) }} {% endblock %} {% block box_after %} {{ form_end(form) }} {% endblock %} {# "table-responsive" does not work, because that would render dropdowns at the bottom behind the container #} {% block box_body_class %}p-0 maybe-table-responsive{% endblock %} {% block box_body %} {% for id, week in days %} {% endfor %} {{ form_widget(form.rows) }} {% for id, week in days %} {% endfor %}
{{ 'project'|trans }} {{ 'activity'|trans }} {{ week.day|date_weekday }} {{ 'duration'|trans }}
{{ 'stats.durationTotal'|trans }}
{% endblock %} {% endembed %} {% endblock %} {% block javascripts %} {{ parent() }} {% endblock %}