Sha256: bdaf9b6966a8733be85895ce7166e6ef803ae4e85db427630b278cd138a07b45

Contents?: true

Size: 585 Bytes

Versions: 16

Compression:

Stored size: 585 Bytes

Contents

.nested-fields
  %div.col-md-6
    %h5
      Image Box
      = link_to_remove_association 'remove', f
    = f.select(:image_id, PagesCms::Image.all.collect {|p| [p.name, p.id] }, {include_blank: 'Choose a picture'}, class: 'form-control')
    = 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.text_field :heading, placeholder: 'overlayed header', class: 'form-control'
    = f.text_area  :content, placeholder: 'content', class: 'form-control', rows: 5

= render 'select_js'

Version data entries

16 entries across 16 versions & 1 rubygems

Version Path
pages_cms-2.4.2 app/views/pages_cms/admin/pages/_image_box_fields.html.haml
pages_cms-2.3.2 app/views/pages_cms/admin/pages/_image_box_fields.html.haml
pages_cms-2.3.1 app/views/pages_cms/admin/pages/_image_box_fields.html.haml
pages_cms-2.3.0 app/views/pages_cms/admin/pages/_image_box_fields.html.haml
pages_cms-2.2.3 app/views/pages_cms/admin/pages/_image_box_fields.html.haml
pages_cms-2.2.2 app/views/pages_cms/admin/pages/_image_box_fields.html.haml
pages_cms-2.2.1 app/views/pages_cms/admin/pages/_image_box_fields.html.haml
pages_cms-2.1.1 app/views/pages_cms/admin/pages/_image_box_fields.html.haml
pages_cms-2.1.0 app/views/pages_cms/admin/pages/_image_box_fields.html.haml
pages_cms-2.0.1 app/views/pages_cms/admin/pages/_image_box_fields.html.haml
pages_cms-2.0.0 app/views/pages_cms/admin/pages/_image_box_fields.html.haml
pages_cms-1.2.3 app/views/pages_cms/admin/pages/_image_box_fields.html.haml
pages_cms-1.2.2 app/views/pages_cms/admin/pages/_image_box_fields.html.haml
pages_cms-1.2.1 app/views/pages_cms/admin/pages/_image_box_fields.html.haml
pages_cms-1.2.0 app/views/pages_cms/admin/pages/_image_box_fields.html.haml
pages_cms-1.1.0 app/views/pages_cms/admin/pages/_image_box_fields.html.haml