Select location
diff --git a/src/bundle/Resources/views/admin/content_type/field_types.html.twig b/src/bundle/Resources/views/admin/content_type/field_types.html.twig
index 45d5280ab6..60648df5d9 100644
--- a/src/bundle/Resources/views/admin/content_type/field_types.html.twig
+++ b/src/bundle/Resources/views/admin/content_type/field_types.html.twig
@@ -4,7 +4,7 @@
# - \EzSystems\RepositoryForms\Data\FieldDefinitionData data Data object for current fieldDefinition.
# - \Symfony\Component\Form\FormView form Field definition form.
# - string languageCode
- #}
+#}
{# @var data \EzSystems\RepositoryForms\Data\FieldDefinitionData #}
{# @var form \Symfony\Component\Form\FormView #}
@@ -142,6 +142,20 @@
>{{ "field_definition.ezobjectrelation.selection_root_udw_button"
|trans({}, "ezrepoforms_content_type")
|desc("Select item") }}
+
{% if form.selectionRoot.vars.destination_location is not null %}
@@ -174,6 +188,20 @@
>{{ "field_definition.ezobjectrelationlist.selection_root_udw_button"
|trans({}, "ezrepoforms_content_type")
|desc("Select location") }}
+
{% if form.selectionDefaultLocation.vars.destination_location is not null %}