Sha256: f4584822ba54a98bb95f9cfb44c5de9fb9f285d2e4b3438d3c70f268a3dd4e01

Contents?: true

Size: 315 Bytes

Versions: 48

Compression:

Stored size: 315 Bytes

Contents

= reflection_node f, field do
  - ref_object = f.object.send(field.reflection.name)
  - if ref_object.blank?
    = t 'bhf.helpers.entry.empty'
  - else
    - 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/belongs_to/_static.haml
bhf-0.3.10 app/views/bhf/entries/form/has_one/_static.haml
bhf-0.3.9 app/views/bhf/entries/form/belongs_to/_static.haml
bhf-0.3.9 app/views/bhf/entries/form/has_one/_static.haml
bhf-0.3.8 app/views/bhf/entries/form/has_one/_static.haml
bhf-0.3.8 app/views/bhf/entries/form/belongs_to/_static.haml
bhf-0.3.7 app/views/bhf/entries/form/belongs_to/_static.haml
bhf-0.3.7 app/views/bhf/entries/form/has_one/_static.haml
bhf-0.3.6.4 app/views/bhf/entries/form/has_one/_static.haml
bhf-0.3.6.4 app/views/bhf/entries/form/belongs_to/_static.haml
bhf-0.3.6.3 app/views/bhf/entries/form/has_one/_static.haml
bhf-0.3.6.3 app/views/bhf/entries/form/belongs_to/_static.haml
bhf-0.3.6.2 app/views/bhf/entries/form/has_one/_static.haml
bhf-0.3.6.2 app/views/bhf/entries/form/belongs_to/_static.haml
bhf-0.3.6.1 app/views/bhf/entries/form/belongs_to/_static.haml
bhf-0.3.6.1 app/views/bhf/entries/form/has_one/_static.haml
bhf-0.3.5 app/views/bhf/entries/form/belongs_to/_static.haml
bhf-0.3.5 app/views/bhf/entries/form/has_one/_static.haml
bhf-0.3.4 app/views/bhf/entries/form/has_one/_static.haml
bhf-0.3.4 app/views/bhf/entries/form/belongs_to/_static.haml