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

Version Path
bhf-0.4.2.2 app/views/bhf/entries/form/column/_array.haml
bhf-0.4.2.1 app/views/bhf/entries/form/column/_array.haml
bhf-0.4.2 app/views/bhf/entries/form/column/_array.haml
bhf-0.4.1 app/views/bhf/entries/form/column/_array.haml
bhf-0.4.0 app/views/bhf/entries/form/column/_array.haml
bhf-0.3.11 app/views/bhf/entries/form/column/_array.haml