{% extends 'base.html.twig' %} {% block main %} {% set formEditTemplate = 'default/_form.html.twig' %} {% set formOptions = { 'title': 'update_multiple'|trans({'%action%': 'action.edit'|trans, '%count%': dto.entities|length}), 'form': form, } %} {% embed formEditTemplate with formOptions %} {% block form_body %}
{{ form_row(form.customer) }}
{{ form_row(form.project) }}
{{ form_row(form.activity) }}
{{ form_row(form.replaceTags) }} {{ form_row(form.tags) }}
{% if form.user is defined %}
{{ form_row(form.user) }}
{% endif %} {% if form.exported is defined %}
{{ form_row(form.exported) }}
{% endif %} {% if form.recalculateRates is defined %}
{{ form_row(form.recalculateRates) }}
{{ form_row(form.fixedRate) }}
{{ form_row(form.hourlyRate) }}
{% endif %} {% if form.metaFields is defined %}
{{ form_row(form.updateMeta) }}
{{ form_row(form.metaFields) }}
{% endif %} {% endblock %} {% endembed %} {% endblock %} {% block javascripts %} {{ parent() }} {% endblock %}