%# # Items Partial This partial renders one or more attachments ## Local variables: - `field`: An instance of [Administrate::Field::Image]. A wrapper around the image url pulled from the database. - `removable`: A boolean used to control the display of a `Remove` link which is used to destroy a single attachment. Defaults to `false` %> <% attachments = Array(field.many? ? field.attachments : field.data) removable = local_assigns.fetch(:removable, false) %> <% if !field.drop_js? %> <% attachments.each do |attachment| %>
<% end %> <%else %>