Sha256: 1e57ad74ccab56cbecdd8cbd2e2cf9043352f0da2a4534f0903670f32ae7d6c1

Contents?: true

Size: 887 Bytes

Versions: 24

Compression:

Stored size: 887 Bytes

Contents

<%= content_tag(:div,
  aria: object.aria,
  id: object.id,
  data: object.data,
  class: object.classname,
  **combined_html_options) 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

24 entries across 24 versions & 1 rubygems

Version Path
playbook_ui-13.21.0.pre.alpha.PBNTR224letuserresetrowexpansion2466 app/pb_kits/playbook/pb_person_contact/person_contact.html.erb
playbook_ui-13.21.0.pre.alpha.PLAY120322465 app/pb_kits/playbook/pb_person_contact/person_contact.html.erb
playbook_ui-13.20.0.pre.alpha.play1247htmloptions2404 app/pb_kits/playbook/pb_person_contact/person_contact.html.erb
playbook_ui-13.20.0.pre.alpha.play1247htmloptions2403 app/pb_kits/playbook/pb_person_contact/person_contact.html.erb