app/models/inputs/asset_box.rb in effective_assets-1.4.3 vs app/models/inputs/asset_box.rb in effective_assets-1.4.4

- old
+ new

@@ -40,9 +40,11 @@ data-attachable-type='#{@options[:attachable_type]}' data-attachable-object-name='#{@object_name}' data-attachment-style='#{@options[:attachment_style]}' data-attachment-add-to='#{@options[:attachment_add_to]}' data-attachment-actions='#{@options[:attachment_actions].to_json()}' + data-attachment-count='#{attachments.length}' + data-over-limit-alerted='false' data-aws-acl='#{@options[:aws_acl]}' >".html_safe end def attachments_html