Sha256: b518de7722080b3197095c716fa2896828667afe50dd3fbbc5d999ae0b4a1b73
Contents?: true
Size: 727 Bytes
Versions: 40
Compression:
Stored size: 727 Bytes
Contents
= reflection_node f, field do - ref_object = f.object.send(field.reflection.name) %p.empty{class: ('hide' if ref_object)}= t 'bhf.helpers.entry.empty', count: 1 %ul.relation{class: field.macro} %li - if ref_object = link_to_if field.link, ref_object.to_bhf_s, edit_bhf_entry_embed_path(field.link || 0, f.object, ref_object), class: :quick_edit - if field.link = link_to '×'.html_safe, bhf_entry_embed_path(field.link, f.object, ref_object), method: :delete, class: :delete, remote: true, data: {confirm: t('bhf.helpers.promts.confirm')} - if field.link = link_to '+', new_bhf_entry_embed_path(field.link, f.object), class: "add_field quick_edit #{('hide' if ref_object)}"
Version data entries
40 entries across 40 versions & 1 rubygems