app/views/admin/components/_general_content.html.erb in noodall-components-general-content-0.0.2 vs app/views/admin/components/_general_content.html.erb in noodall-components-general-content-0.0.3

- old
+ new

@@ -10,11 +10,10 @@ <p class="file-selectable"> <% unless component.asset.nil? %> <span class="file-detail"><%= component.asset.image? ? image_tag( component.asset.url('70x70#', :jpg) ) : asset_icon(component.asset) %></span> <% end -%> - <span class="select-file">Select File</span> - (<span class="types">Images</span>) + <span class="select-file" data-file-types="images">Select File</span> <%= f.hidden_field :asset_id, :class => "asset_id" %> </p> <p> <%= f.label :content %><br />