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