Sha256: 30842adebe98ade6585347dce05c095e1a86274af6677d3eab2b0026eb1932d1

Contents?: true

Size: 398 Bytes

Versions: 6

Compression:

Stored size: 398 Bytes

Contents

- target ||= [@nested_resources, @polymorphic_resource, contact].flatten
= render partial: 'gaku/contacts/primary_field', locals: {contact: contact, target: target}

td = contact.name
td = contact.data
td = contact.details
td
  =t(:'contact.emergency') if contact.emergency?

- if can_edit?
  td
    = ajax_link_to_edit [:edit, target].flatten
    = ajax_soft_delete [:soft_delete, target].flatten

Version data entries

6 entries across 6 versions & 2 rubygems

Version Path
gaku_core-0.0.3 app/views/gaku/contacts/_fields.html.slim
gaku-0.0.3 core/app/views/gaku/contacts/_fields.html.slim
gaku-0.0.2 core/app/views/gaku/contacts/_fields.html.slim
gaku_core-0.0.2 app/views/gaku/contacts/_fields.html.slim
gaku-0.0.1 core/app/views/gaku/contacts/_fields.html.slim
gaku_core-0.0.1 app/views/gaku/contacts/_fields.html.slim