app/views/admin/components/_gallery.html.erb in noodall-components-gallery-0.0.1 vs app/views/admin/components/_gallery.html.erb in noodall-components-gallery-0.0.2
- old
+ new
@@ -14,10 +14,10 @@
<span class="input-wrap"><%= c.text_area :description, :rows => 4 %></span>
</p>
</fieldset>
<fieldset class="multi-file-files images">
<legend>Images</legend>
- <p><span class="add-multi-asset">Add File</span><span class="types">Images</span></p>
+ <p><span class="add-multi-asset" data-file-types="images">Add File</span></p>
<ol>
<% component.assets.each_with_index do |asset,i| %>
<li class="multi-file file-selectable">
<span class="file-detail"><%= image_tag( asset.url('70x70#', :jpg) ) %></span>
<span class="delete" title="Remove this file">Delete</span>