Sha256: 37a03d2a10725732712399f57721a6b4e1c481f62775b91186479f3996c30f73

Contents?: true

Size: 346 Bytes

Versions: 2

Compression:

Stored size: 346 Bytes

Contents

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

Version data entries

2 entries across 1 versions & 1 rubygems

Version Path
bhf-0.3.11 app/views/bhf/entries/form/has_and_belongs_to_many/_static.haml
bhf-0.3.11 app/views/bhf/entries/form/has_many/_static.haml