Sha256: c16f20687d4f1e9449af0b3fb1b0e98cc4c3496b4490b3ce941ed5dfaaf8b1f7

Contents?: true

Size: 359 Bytes

Versions: 4

Compression:

Stored size: 359 Bytes

Contents

.col-sm-6
  label
    | #{Comable.t('admin.sub_image')}
    - if local_assigns[:index]
      span<
        | ##{index}
  p
    = f.file_field :file
  - if f.object.url
    .thumbnail
      = image_tag f.object.url
      - if f.object.persisted?
        label.remove
          span> = f.check_box :_destroy
          span> = Comable.t('admin.actions.destroy')

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
comable-backend-0.7.1 app/views/comable/admin/shared/_images_fields.slim
comable-backend-0.7.0 app/views/comable/admin/shared/_images_fields.slim
comable-backend-0.7.0.beta2 app/views/comable/admin/shared/_images_fields.slim
comable-backend-0.7.0.beta1 app/views/comable/admin/shared/_images_fields.slim