diff --git a/app/views/admin/communication/blocks/components/image/_static.html.erb b/app/views/admin/communication/blocks/components/image/_static.html.erb index 83fe9086eebfbf539c71bfe1b3d400463a4b37e2..b0e4e893b519a8bee39e3ac9801a70c0629ecdb9 100644 --- a/app/views/admin/communication/blocks/components/image/_static.html.erb +++ b/app/views/admin/communication/blocks/components/image/_static.html.erb @@ -1,13 +1,19 @@ <% blob = component.blob list ||= false +# No list +# image: +# id: "6481e276-23c7-43bb-84aa-87820706ef27" +# file: "6481e276-23c7-43bb-84aa-87820706ef27" +# List +# - id: "1372a56a-8859-45b9-a7db-d6f9c0e1f38f" +# file: "1372a56a-8859-45b9-a7db-d6f9c0e1f38f return unless blob %> <% if list %> <%= indentation %>- id: "<%= blob.id %>" -<%= indentation %> file: "<%= blob.id %>" <% else %> <%= indentation %><%= property %>: <%= indentation %> id: "<%= blob.id %>" -<%= indentation %> file: "<%= blob.id %>" <% end %> +<%= indentation %> file: "<%= blob.id %>"