Sha256: f404f7dcef949941ab91cb4bc4de693000773fce92f49e0469eec8450237864a
Contents?: true
Size: 839 Bytes
Versions: 40
Compression:
Stored size: 839 Bytes
Contents
<%= content_tag(:div, 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
40 entries across 40 versions & 1 rubygems