Sha256: 3f61dc0b40025a9e8336dded57373e3a631d6ed6217f7d07bfc062780842210f

Contents?: true

Size: 505 Bytes

Versions: 3

Compression:

Stored size: 505 Bytes

Contents

<%= content_tag(:div,
    id: object.id,
    data: object.data,
    class: object.classname) do %>
    <% object.people.each do |person| %>
      <%= pb_rails("person", props: {
          first_name: person[:first_name],
          last_name: person[:last_name],
      }) %>
    <% end %>
    <% object.contacts.each do |contact| %>
      <%= pb_rails("contact", props: {
          contact_type: contact[:contact_type],
          contact_value: contact[:contact_value],
      }) %>
    <% end %>
<% end %>

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
playbook_ui-2.9.6 app/pb_kits/playbook/pb_person_contact/_person_contact.html.erb
playbook_ui-2.9.5 app/pb_kits/playbook/pb_person_contact/_person_contact.html.erb
playbook_ui-2.9.4 app/pb_kits/playbook/pb_person_contact/_person_contact.html.erb