{% block form %} {{ sonata_block_render_event('sonata.admin.edit.form.top', { 'admin': admin, 'object': object }) }} {% set url = objectId is not null ? ( action == 'edit' ? 'edit' : 'fechas_examenes') : 'create' %} {% if objectId is not null and object.tomaExamenFecha|filter(v => v.examinandos|length > 0)|length> 0%}