{% if form.vars.value.createdAt.timestamp is defined %} {% set submitValue = submitValue|default('registry.violation.action.edit_submit'|trans) %} {% else %} {% set submitValue = submitValue|default('registry.violation.action.new_submit'|trans) %} {% endif %}
{{ form_start(form) }} {# LEFT #}
{# GENERAL #}

{{ 'registry.violation.tab.information'|trans }}

{{ form_row(form.date) }} {% if serviceEnabled is defined and serviceEnabled %} {{ form_row(form.service) }} {% endif %} {{ form_row(form.inProgress) }} {{ form_row(form.violationNatures) }} {{ form_row(form.origins) }} {{ form_row(form.cause) }} {{ form_row(form.concernedDataNature) }} {{ form_row(form.concernedPeopleCategories) }} {{ form_row(form.nbAffectedRows) }} {{ form_row(form.nbAffectedPersons) }}
{# LINKED MODULES #}

{{ 'global.tab.linked_modules'|trans }}

{{ form_row(form.treatments) }} {{ form_row(form.contractors) }} {% if form.tools is defined %} {{ form_row(form.tools) }} {% endif %} {{ form_row(form.requests) }} {{ form_row(form.violations) }} {{ form_row(form.proofs) }} {{ form_row(form.mesurements) }}
{# RIGHT #}
{# CONSEQUENCE #}

{{ 'registry.violation.tab.consequence'|trans }}

{{ form_row(form.potentialImpactsNature) }} {{ form_row(form.gravity) }} {{ form_row(form.communication) }} {{ form_row(form.communicationPrecision) }} {{ form_row(form.appliedMeasuresAfterViolation) }} {{ form_row(form.notification) }} {{ form_row(form.notificationDetails) }} {{ form_row(form.comment) }}
{{ form_end(form) }}