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.11 app/views/bhf/entries/form/column/_array.haml
bhf-0.4.10 app/views/bhf/entries/form/column/_array.haml
bhf-0.4.9 app/views/bhf/entries/form/column/_array.haml
bhf-0.4.8 app/views/bhf/entries/form/column/_array.haml
bhf-0.4.7 app/views/bhf/entries/form/column/_array.haml
bhf-0.4.6 app/views/bhf/entries/form/column/_array.haml
bhf-0.4.5 app/views/bhf/entries/form/column/_array.haml
bhf-0.4.4 app/views/bhf/entries/form/column/_array.haml
bhf-0.4.3 app/views/bhf/entries/form/column/_array.haml
bhf-0.4.2.7 app/views/bhf/entries/form/column/_array.haml
bhf-0.4.2.5 app/views/bhf/entries/form/column/_array.haml
bhf-0.4.2.4 app/views/bhf/entries/form/column/_array.haml
bhf-0.4.2.3 app/views/bhf/entries/form/column/_array.haml