Sha256: dce5e26624a52b1c1b91f502a6dccade43b2be6e2a5e71b2c4e9abb9232058f0

Contents?: true

Size: 400 Bytes

Versions: 14

Compression:

Stored size: 400 Bytes

Contents

= reflection_node f, field do
  - ref_objects = f.object.send(field.reflection.name)
  - if ref_objects.blank?
    = t 'bhf.helpers.entries.empty'
  - else
    %ul
      - ref_objects.each do |ref_object|
        %li
          - if field.link
            = link_to ref_object.to_bhf_s, edit_entry_path(field.link, ref_object), :class => 'quick_edit'
          - else
            = ref_object.to_bhf_s

Version data entries

14 entries across 7 versions & 1 rubygems

Version Path
bhf-0.1.6 app/views/bhf/entries/form/has_many/_static.haml
bhf-0.1.6 app/views/bhf/entries/form/has_and_belongs_to_many/_static.haml
bhf-0.1.5 app/views/bhf/entries/form/has_many/_static.haml
bhf-0.1.5 app/views/bhf/entries/form/has_and_belongs_to_many/_static.haml
bhf-0.1.4 app/views/bhf/entries/form/has_and_belongs_to_many/_static.haml
bhf-0.1.4 app/views/bhf/entries/form/has_many/_static.haml
bhf-0.1.3 app/views/bhf/entries/form/has_many/_static.haml
bhf-0.1.3 app/views/bhf/entries/form/has_and_belongs_to_many/_static.haml
bhf-0.1.2 app/views/bhf/entries/form/has_many/_static.haml
bhf-0.1.2 app/views/bhf/entries/form/has_and_belongs_to_many/_static.haml
bhf-0.1.1 app/views/bhf/entries/form/has_many/_static.haml
bhf-0.1.1 app/views/bhf/entries/form/has_and_belongs_to_many/_static.haml
bhf-0.1.0 app/views/bhf/entries/form/has_and_belongs_to_many/_static.haml
bhf-0.1.0 app/views/bhf/entries/form/has_many/_static.haml