Sha256: cd2fcb720d27aeed69c39e5258469150f2e587516acbc8d119c9033627b0cff3

Contents?: true

Size: 315 Bytes

Versions: 133

Compression:

Stored size: 315 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

133 entries across 133 versions & 1 rubygems

Version Path
bhf-1.0.0.beta16 app/views/bhf/form/column/_array.html.haml
bhf-1.0.0.beta15 app/views/bhf/form/column/_array.html.haml
bhf-1.0.0.beta14 app/views/bhf/form/column/_array.html.haml
bhf-1.0.0.beta13 app/views/bhf/form/column/_array.html.haml
bhf-1.0.0.beta12 app/views/bhf/form/column/_array.html.haml
bhf-1.0.0.beta11 app/views/bhf/form/column/_array.html.haml
bhf-1.0.0.beta10 app/views/bhf/form/column/_array.html.haml
bhf-1.0.0.beta9 app/views/bhf/form/column/_array.html.haml
bhf-1.0.0.beta8 app/views/bhf/form/column/_array.html.haml
bhf-1.0.0.beta7 app/views/bhf/form/column/_array.html.haml
bhf-1.0.0.beta6 app/views/bhf/form/column/_array.html.haml
bhf-1.0.0.beta5 app/views/bhf/form/column/_array.html.haml
bhf-1.0.0.beta4 app/views/bhf/form/column/_array.html.haml
bhf-1.0.0.beta3 app/views/bhf/form/column/_array.html.haml
bhf-1.0.0.beta2 app/views/bhf/form/column/_array.html.haml
bhf-1.0.0.beta1 app/views/bhf/form/column/_array.html.haml
bhf-0.10.17 app/views/bhf/form/column/_array.html.haml
bhf-0.10.16 app/views/bhf/form/column/_array.html.haml
bhf-0.10.15 app/views/bhf/form/column/_array.html.haml
bhf-0.10.14 app/views/bhf/form/column/_array.html.haml