Sha256: 13311535ff9def52a37ca01c8914a735aec8c38a6de0d0db5078ddb6e347cab4

Contents?: true

Size: 199 Bytes

Versions: 5

Compression:

Stored size: 199 Bytes

Contents

- if attachment.errors.to_a.any?
  div class=SimpleFormAttachments.dom_class(:attachment, [:col, :errors])
    = render 'simple_form_attachments/errors', errors: attachment.errors.to_a

- else
  div

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
simple_form_attachments-1.2.0 app/views/simple_form_attachments/attachments/_attachment.html.slim
simple_form_attachments-1.1.1 app/views/simple_form_attachments/attachments/_attachment.html.slim
simple_form_attachments-1.1.0 app/views/simple_form_attachments/attachments/_attachment.html.slim
simple_form_attachments-1.0.1 app/views/simple_form_attachments/attachments/_attachment.html.slim
simple_form_attachments-1.0.0 app/views/simple_form_attachments/attachments/_attachment.html.slim