Sha256: 064c8170ac14378b0fe86732f5d5bee32a95b0f1f0b8ce361cedae5d969af08f
Contents?: true
Size: 330 Bytes
Versions: 6
Compression:
Stored size: 330 Bytes
Contents
= node f, field do .array_holder = f.fields_for field.name do |x| - if f.object.send(field.name).blank? = x.text_field nil, :class => 'array_fields', :id => nil - else - f.object.send(field.name).each do |entry| = x.text_field nil, :value => entry, :class => 'array_fields', :id => nil
Version data entries
6 entries across 6 versions & 1 rubygems