app/models/inputs/asset_box.rb in effective_assets-1.4.1 vs app/models/inputs/asset_box.rb in effective_assets-1.4.2
- old
+ new
@@ -29,10 +29,11 @@
end
private
def header_html
- "<div class='asset-box-input #{@options[:box]}'
+ "<div id='asset-box-input-#{@options[:uid]}'
+ class='asset-box-input #{@options[:box]}'
data-box='#{@options[:box]}'
data-uploader='s3_#{@options[:uid]}'
data-limit='#{@options[:limit]}'
data-attachable-id='#{@options[:attachable_id]}'
data-attachable-type='#{@options[:attachable_type]}'