Sha256: 2fa56d56bdddc1766d8d15ce0ffc2968ed22475ad9d0a8e15708247f15c80673

Contents?: true

Size: 860 Bytes

Versions: 789

Compression:

Stored size: 860 Bytes

Contents

<%= content_tag(:div,
  aria: object.aria,
  id: object.id,
  data: object.data,
  class: object.classname) do %>
  <%= pb_rails("person", props: {
      first_name: object.first_name,
      last_name: object.last_name,
  }) %>
  <% object.valid_contacts.each do |contact| %>
    <%= pb_rails("contact", props: {
        contact_type: contact[:contact_type],
        contact_value: contact[:contact_value],
        contact_detail: contact[:contact_detail],
    }) %>
  <% end %>
  <% if object.wrong_contacts.present? %>
    <%= pb_rails("caption", props: { classname: "wrong_numbers", text: "wrong number" }) %>

    <% object.wrong_contacts.each do |wrong_number| %>
      <%= pb_rails("contact", props: {
        contact_type: wrong_number[:contact_type],
        contact_value: wrong_number[:contact_value],
      }) %>
    <% end %>
  <% end %>
<% end %>

Version data entries

789 entries across 789 versions & 1 rubygems

Version Path
playbook_ui-7.0.0.pre.alpha11 app/pb_kits/playbook/pb_person_contact/_person_contact.html.erb
playbook_ui-6.8.1 app/pb_kits/playbook/pb_person_contact/_person_contact.html.erb
playbook_ui-6.8.0 app/pb_kits/playbook/pb_person_contact/_person_contact.html.erb
playbook_ui-6.7.0.pre.alpha1 app/pb_kits/playbook/pb_person_contact/_person_contact.html.erb
playbook_ui-6.7.0 app/pb_kits/playbook/pb_person_contact/_person_contact.html.erb
playbook_ui-6.6.1 app/pb_kits/playbook/pb_person_contact/_person_contact.html.erb
playbook_ui-7.0.0.pre.alpha10 app/pb_kits/playbook/pb_person_contact/_person_contact.html.erb
playbook_ui-6.6.0 app/pb_kits/playbook/pb_person_contact/_person_contact.html.erb
playbook_ui-6.5.2 app/pb_kits/playbook/pb_person_contact/_person_contact.html.erb
playbook_ui-7.0.1.pre.alpha12 app/pb_kits/playbook/pb_person_contact/_person_contact.html.erb
playbook_ui-7.0.1.pre.alpha11 app/pb_kits/playbook/pb_person_contact/_person_contact.html.erb
playbook_ui-7.0.1.pre.alpha10 app/pb_kits/playbook/pb_person_contact/_person_contact.html.erb
playbook_ui-7.0.1.pre.alpha9 app/pb_kits/playbook/pb_person_contact/_person_contact.html.erb
playbook_ui-6.5.1 app/pb_kits/playbook/pb_person_contact/_person_contact.html.erb
playbook_ui-6.5.0 app/pb_kits/playbook/pb_person_contact/_person_contact.html.erb
playbook_ui-7.0.1.pre.alpha8 app/pb_kits/playbook/pb_person_contact/_person_contact.html.erb
playbook_ui-7.0.1.pre.alpha7 app/pb_kits/playbook/pb_person_contact/_person_contact.html.erb
playbook_ui-7.0.1.pre.alpha6 app/pb_kits/playbook/pb_person_contact/_person_contact.html.erb
playbook_ui-7.0.1.pre.alpha5 app/pb_kits/playbook/pb_person_contact/_person_contact.html.erb
playbook_ui-7.0.1.pre.alpha4 app/pb_kits/playbook/pb_person_contact/_person_contact.html.erb