Sha256: ed07fa10fc88468afcaa12af81f7b483a269081574a41b08f231e01d13bdeaec

Contents?: true

Size: 314 Bytes

Versions: 5

Compression:

Stored size: 314 Bytes

Contents

- if form.object.asset.present?
  .row
    .col-lg-12
      %img{ class: 'img-responsive center-block', src: main_app.url_for(form.object.asset) }

.row
  .col-lg-12
    = form.association :carousel, label_method: :human
    = form.input :url
    = form.input :description
    = form.input :published, as: :boolean

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
cmor_carousels_backend-0.0.40.pre app/views/cmor/carousels/backend/item_details/_form.html.haml
cmor_carousels_backend-0.0.39.pre app/views/cmor/carousels/backend/item_details/_form.html.haml
cmor_carousels_backend-0.0.38.pre app/views/cmor/carousels/backend/item_details/_form.html.haml
cmor_carousels_backend-0.0.37.pre app/views/cmor/carousels/backend/item_details/_form.html.haml
cmor_carousels_backend-0.0.36.pre app/views/cmor/carousels/backend/item_details/_form.html.haml