Sha256: f81c6342e66f0e93b4d43d72d6241ff58394aca5702d7e7f84133b7d514466a3

Contents?: true

Size: 404 Bytes

Versions: 48

Compression:

Stored size: 404 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_bhf_entry_path(field.link, ref_object), :class => 'quick_edit'
          - else
            = ref_object.to_bhf_s

Version data entries

48 entries across 24 versions & 1 rubygems

Version Path
bhf-0.3.10 app/views/bhf/entries/form/has_and_belongs_to_many/_static.haml
bhf-0.3.10 app/views/bhf/entries/form/has_many/_static.haml
bhf-0.3.9 app/views/bhf/entries/form/has_and_belongs_to_many/_static.haml
bhf-0.3.9 app/views/bhf/entries/form/has_many/_static.haml
bhf-0.3.8 app/views/bhf/entries/form/has_many/_static.haml
bhf-0.3.8 app/views/bhf/entries/form/has_and_belongs_to_many/_static.haml
bhf-0.3.7 app/views/bhf/entries/form/has_and_belongs_to_many/_static.haml
bhf-0.3.7 app/views/bhf/entries/form/has_many/_static.haml
bhf-0.3.6.4 app/views/bhf/entries/form/has_many/_static.haml
bhf-0.3.6.4 app/views/bhf/entries/form/has_and_belongs_to_many/_static.haml
bhf-0.3.6.3 app/views/bhf/entries/form/has_many/_static.haml
bhf-0.3.6.3 app/views/bhf/entries/form/has_and_belongs_to_many/_static.haml
bhf-0.3.6.2 app/views/bhf/entries/form/has_many/_static.haml
bhf-0.3.6.2 app/views/bhf/entries/form/has_and_belongs_to_many/_static.haml
bhf-0.3.6.1 app/views/bhf/entries/form/has_and_belongs_to_many/_static.haml
bhf-0.3.6.1 app/views/bhf/entries/form/has_many/_static.haml
bhf-0.3.5 app/views/bhf/entries/form/has_and_belongs_to_many/_static.haml
bhf-0.3.5 app/views/bhf/entries/form/has_many/_static.haml
bhf-0.3.4 app/views/bhf/entries/form/has_many/_static.haml
bhf-0.3.4 app/views/bhf/entries/form/has_and_belongs_to_many/_static.haml