Sha256: 11419d0bebf8e850c48d44bab6108097890003007fb824245941ca5970bb3dfa

Contents?: true

Size: 478 Bytes

Versions: 53

Compression:

Stored size: 478 Bytes

Contents

= reflection_node f, field do
  - ref_objects ||= f.object.send(field.reflection.name)
  %p.empty{class: ('hide' unless ref_objects.blank?)}= t 'bhf.helpers.entry.empty', count: 2
  %ul.relation{class: field.macro}
    - 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

  -# if field.link
    = link_to '+', new_bhf_entry_path(field.link), class: 'add_field quick_edit'

Version data entries

53 entries across 53 versions & 1 rubygems

Version Path
bhf-0.6.4 app/views/bhf/entries/form/has_many/_static.haml
bhf-0.6.3 app/views/bhf/entries/form/has_many/_static.haml
bhf-0.6.2 app/views/bhf/entries/form/has_many/_static.haml
bhf-0.6.1 app/views/bhf/entries/form/has_many/_static.haml
bhf-0.6.0 app/views/bhf/entries/form/has_many/_static.haml
bhf-0.5.13 app/views/bhf/entries/form/has_many/_static.haml
bhf-0.5.12 app/views/bhf/entries/form/has_many/_static.haml
bhf-0.5.11 app/views/bhf/entries/form/has_many/_static.haml
bhf-0.5.10 app/views/bhf/entries/form/has_many/_static.haml
bhf-0.5.9 app/views/bhf/entries/form/has_many/_static.haml
bhf-0.5.8 app/views/bhf/entries/form/has_many/_static.haml
bhf-0.5.7 app/views/bhf/entries/form/has_many/_static.haml
bhf-0.5.6 app/views/bhf/entries/form/has_many/_static.haml
bhf-0.5.5 app/views/bhf/entries/form/has_many/_static.haml
bhf-0.5.4 app/views/bhf/entries/form/has_many/_static.haml
bhf-0.5.3 app/views/bhf/entries/form/has_many/_static.haml
bhf-0.5.2 app/views/bhf/entries/form/has_many/_static.haml
bhf-0.5.1 app/views/bhf/entries/form/has_many/_static.haml
bhf-0.5.0 app/views/bhf/entries/form/has_many/_static.haml
bhf-0.4.36 app/views/bhf/entries/form/has_many/_static.haml