Sha256: 4d90eac2bcdc3dcdf8e03324554942cd634cb5fa0f6c289b89ecfcfb8e5415ab

Contents?: true

Size: 337 Bytes

Versions: 5

Compression:

Stored size: 337 Bytes

Contents

= f.hidden_field :image_id, class: 'image-id'
= f.hidden_field :signed_blob_id, class: 'signed-blob-id'
= f.hidden_field :filename, class: 'filename'
- if f.object.signed_blob_id.present? && f.object.spina_image
  = image_tag main_app.url_for(f.object.spina_image.variant(resize: "400x300^", crop: "400x300+0+0"))
- else
  = image_tag ""

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
spina-2.0.2 app/views/spina/admin/parts/image_collections/_fields.html.haml
spina-2.0.1 app/views/spina/admin/parts/image_collections/_fields.html.haml
spina-2.0.0 app/views/spina/admin/parts/image_collections/_fields.html.haml
spina-2.0.0.beta app/views/spina/admin/parts/image_collections/_fields.html.haml
spina-2.0.0.alpha app/views/spina/admin/parts/image_collections/_fields.html.haml