Sha256: 78bcfa84215ca763136b82cb6b0f2bfb9308b554b9c4923a972237b7d2d64538
Contents?: true
Size: 407 Bytes
Versions: 35
Compression:
Stored size: 407 Bytes
Contents
.repeater-field{ class: ('error' if f.object.errors[field.name].present?) } %table %tbody = f.fields_for field.name, field.value do |s| - field.fields.each do |key, sub_field| %tr %th= s.label sub_field.name, sub_field.label %td= render_field sub_field, s - if f.object.errors[field.name].present? %small.error= f.object.errors[field.name].join(', ')
Version data entries
35 entries across 35 versions & 1 rubygems