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-0.4.35 app/views/bhf/entries/form/column/_array.haml
bhf-0.4.34 app/views/bhf/entries/form/column/_array.haml
bhf-0.4.33 app/views/bhf/entries/form/column/_array.haml
bhf-0.4.32 app/views/bhf/entries/form/column/_array.haml
bhf-0.4.31 app/views/bhf/entries/form/column/_array.haml
bhf-0.4.30 app/views/bhf/entries/form/column/_array.haml
bhf-0.4.25 app/views/bhf/entries/form/column/_array.haml
bhf-0.4.24 app/views/bhf/entries/form/column/_array.haml
bhf-0.4.23 app/views/bhf/entries/form/column/_array.haml
bhf-0.4.22 app/views/bhf/entries/form/column/_array.haml
bhf-0.4.21 app/views/bhf/entries/form/column/_array.haml
bhf-0.4.20 app/views/bhf/entries/form/column/_array.haml
bhf-0.4.19 app/views/bhf/entries/form/column/_array.haml
bhf-0.4.18 app/views/bhf/entries/form/column/_array.haml
bhf-0.4.17 app/views/bhf/entries/form/column/_array.haml
bhf-0.4.16 app/views/bhf/entries/form/column/_array.haml
bhf-0.4.15 app/views/bhf/entries/form/column/_array.haml
bhf-0.4.14 app/views/bhf/entries/form/column/_array.haml
bhf-0.4.13 app/views/bhf/entries/form/column/_array.haml
bhf-0.4.12 app/views/bhf/entries/form/column/_array.haml