Sha256: 09a7867ca0c57869f138e3f9f4252a9d3f61ddb247b6d02394eae6a4c53fe31c
Contents?: true
Size: 509 Bytes
Versions: 4
Compression:
Stored size: 509 Bytes
Contents
tr.attachment class=('uploaded' if attachment.present? && attachment.errors.to_a.blank?) td.handle td.hidden = fields.hidden_field :id = form.hidden_field(relation_key, multiple: multiple, value: attachment.id) if attachment.errors.empty? = yield td.cancel.delete.close - if attachment.errors.to_a.any? button.button.close = I18n.t(:close, scope: 'simple_form_attachments.buttons') - else button.button.delete = I18n.t(:delete, scope: 'simple_form_attachments.buttons')
Version data entries
4 entries across 4 versions & 1 rubygems