|
|
@@ -2,7 +2,6 @@ |
|
|
|
{% use '@EasyAdmin/crud/form_theme.html.twig' %} |
|
|
|
|
|
|
|
{% block form_start %} |
|
|
|
|
|
|
|
{% if form.vars.errors|length > 0 and 'ea_crud' in form.vars.block_prefixes|default([]) %} |
|
|
|
{{ form_errors(form) }} |
|
|
|
{% endif %} |
|
|
@@ -117,7 +116,6 @@ |
|
|
|
{%- endif -%} |
|
|
|
{%- endif -%} |
|
|
|
|
|
|
|
|
|
|
|
{% set entityNameOrObject = form.parent.vars.data %} |
|
|
|
|
|
|
|
{% if form.parent.vars.translation_entity_name is defined %} |
|
|
@@ -130,9 +128,6 @@ |
|
|
|
{% endif %} |
|
|
|
#} |
|
|
|
|
|
|
|
{% if translation_domain == null %} |
|
|
|
{% set translation_domain = 'admin' %} |
|
|
|
{% endif %} |
|
|
|
<{{ element|default('label') }}{% if label_attr %}{% with { attr: label_attr } %}{{ block('attributes') }}{% endwith %}{% endif %} |
|
|
|
>{{ (label is not empty and '.' in label) ? label|trans({}, translation_domain) : name|sov_trans_admin_field(entityNameOrObject) }} |
|
|
|
</{{ element|default('label') }}> |