Skip to content

Commit

Permalink
EZP-30362: Hidden default location in Relation List field type crashe…
Browse files Browse the repository at this point in the history
…s Content Type editing (#933)

* EZP-30362: Hidden default location in Relation List field type crashes Content Type editing

* Update src/bundle/Resources/views/admin/content_type/field_types.html.twig

Co-Authored-By: ViniTou <vinniczek@gmail.com>

* EZP-30362: fix ezlist
  • Loading branch information
ViniTou authored and Łukasz Serwatka committed Mar 27, 2019
1 parent ea63e58 commit 118206b
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@
</div>
<div id="{{ form.selectionRoot.vars.id }}-selected-root-name">
{% if form.selectionRoot.vars.destination_location is not null %}
{{ render( controller( "ez_content:viewLocation", {'locationId': form.selectionRoot.vars.value, 'viewType': '_platformui_content_name'} ) ) }}
{{ ez_content_name(form.selectionRoot.vars.destination_location.contentInfo) }}
{% endif %}
</div>
</div>
Expand Down Expand Up @@ -173,7 +173,7 @@
</div>
<div id="{{ form.selectionDefaultLocation.vars.id }}-selected-root-name">
{% if form.selectionDefaultLocation.vars.destination_location is not null %}
{{ render( controller( "ez_content:viewLocation", {'locationId': form.selectionDefaultLocation.vars.value, 'viewType': '_platformui_content_name'} ) ) }}
{{ ez_content_name(form.selectionDefaultLocation.vars.destination_location.contentInfo) }}
{% endif %}
</div>
</div>
Expand Down

0 comments on commit 118206b

Please sign in to comment.