Sha256: 302989012b7039571d2cad6bb0e892017fcdad35e4cfca78ecb2ed6eebb8c935
Contents?: true
Size: 521 Bytes
Versions: 27
Compression:
Stored size: 521 Bytes
Contents
%table - field_group.fields.without_pairs.in_groups_of(2, false) do |group| %tr - group.each_with_index do |field, i| %td - if field.hint.present? = image_tag "info_tiny.png", :title => field.hint, :class => "tooltip-icon" - if field.as == 'check_boxes' - value = f.object.send(field.name) - checked = YAML.load(value.to_s) = f.input field.name, field.input_options.merge(:checked => checked) - if i == 0 %td= spacer
Version data entries
27 entries across 27 versions & 2 rubygems