anchor.diff:  
       window.<%= method %>_dropzone = dropzone;
     })();
  -</script>
  +</script>
positive.code:         $(file.previewElement).remove();
          $(dropzone_id).sortable('refresh');
        }
      };
      
      if (window.<%= method %>_dropzone_preview_template || window.dropzone_preview_template) {
        dropzone_options['previewTemplate'] = window.<%= method %>_dropzone_preview_template || window.dropzone_preview_template;
      }
      
      var dropzone = new Dropzone(dropzone_id, dropzone_options);
  
      $(dropzone_id).sortable({
        items: '.dz-preview',
  
negative.code: <div id="dropzone_<%= method %>_<%= cycle(*(1..999).to_a, name: method) %>" class="dropzone">
    <span class="notice"><%=t 'dropzone.drag_or_click' %></span>
    <% object.send(method).each_with_index do |dropzone_object, index| %>
      <%= hidden_field_tag "#{ object.class.model_name.singular }[#{ method }_attributes][#{ dropzone_object.id }][#{ object.class.send("dropzone_#{ method }_field", :title) }]", dropzone_object.send(object.class.send("dropzone_#{ method }_field", :title)) %>
    <% end %>
  