Sha256: 7fc0387974dd8b8d8ecf9b2a714abe2d7ddd9f69c73adde5e3a3880ca781398c

Contents?: true

Size: 555 Bytes

Versions: 5

Compression:

Stored size: 555 Bytes

Contents

.nested-fields
  %h5
    Content Slider
    = link_to_remove_association 'remove', f
  = f.select(:link, PagesCms::Page.all.collect {|p| [p.title, p.slug] } << f.object.link, {include_blank: 'Choose a link'}, class: 'form-control select2')
  = f.select(:image_id, PagesCms::Image.all.collect {|p| [p.name, p.id] }, {include_blank: 'choose an image'}, class: 'form-control')
  = f.text_field :header, placeholder: 'overlayed header', class: 'form-control'
  = f.number_field :order, placeholder: 'display order', class: 'form-control'

= render 'select_js'

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
pages_cms-1.2.3 app/views/pages_cms/admin/pages/_slider_fields.html.haml
pages_cms-1.2.2 app/views/pages_cms/admin/pages/_slider_fields.html.haml
pages_cms-1.2.1 app/views/pages_cms/admin/pages/_slider_fields.html.haml
pages_cms-1.2.0 app/views/pages_cms/admin/pages/_slider_fields.html.haml
pages_cms-1.1.0 app/views/pages_cms/admin/pages/_slider_fields.html.haml