app/views/bhf/entries/form/column/_array.haml in bhf-0.4.2.2 vs app/views/bhf/entries/form/column/_array.haml in bhf-0.4.2.3

- old
+ new

@@ -1,8 +1,8 @@ = 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 + = 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 + = x.text_field nil, value: entry, class: 'array_fields', id: nil