Sha256: 6aad1208a8e81e5767ec7b55bb0620d2c7fc5836abc916e00d5c1200c9acebf1
Contents?: true
Size: 980 Bytes
Versions: 4
Compression:
Stored size: 980 Bytes
Contents
.nested-fields %div.block = f.text_field :name, placeholder: 'page block title (leave blank for no title)', class: 'form-control med' = f.text_field :div_id, placeholder: 'division identifier (always fill out)', class: 'form-control' = f.hidden_field :order, class: 'block-order' %div = f.fields_for :jumbotrons do |jumbotron| = render 'jumbotron_fields', f: jumbotron = f.fields_for :text_boxes do |text_box| = render 'text_box_fields', f: text_box %div.row = f.fields_for :thumbnails do |thumbnail| = render 'thumbnail_fields', f: thumbnail %hr = link_to_add_association 'Add Jumbotron', f, :jumbotrons, class: 'btn btn-default btn-xs' = link_to_add_association 'Add Text Box', f, :text_boxes, class: 'btn btn-default btn-xs' = link_to_add_association 'Add Thumbnail', f, :thumbnails, class: 'btn btn-default btn-xs' %div.right = link_to_remove_association 'Remove Block', f
Version data entries
4 entries across 4 versions & 1 rubygems