Sha256: 2f31d6510e31dc02902af61faf714cac67036c5547f3b842bd34462b3f6cc500
Contents?: true
Size: 512 Bytes
Versions: 12
Compression:
Stored size: 512 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
12 entries across 12 versions & 1 rubygems