Sha256: 5106a80d91173f9e3555835b71ef8bd7fa10d3bae0b5bb6ab203e1fb489c4001

Contents?: true

Size: 854 Bytes

Versions: 353

Compression:

Stored size: 854 Bytes

Contents

<%= pb_content_tag do %>
  <%= pb_rails("body", props: { 
        tag: "span", 
        classname: "pb_contact_kit", 
        color: "light",
        dark: object.dark
  }) do %>
    <% if contact_type == "email" %>
      <%= pb_rails("icon", props: { 
            custom_icon: Playbook::Engine::root.join(envelope_path),
            fixed_width: true,
            dark: object.dark
      }) %>
    <% else %>
      <%= pb_rails("icon", props: { 
            icon: object.contact_icon, 
            fixed_width: true,
            dark: object.dark
      }) %>
    <% end %>
    <%= object.formatted_contact_value if object.contact_value %>

    <%= pb_rails("caption", props: { 
          text: object.contact_detail, 
          tag: 'span', 
          size: 'xs',
          dark: object.dark
        }) if object.contact_detail %>
  <% end %>
<% end %>

Version data entries

353 entries across 353 versions & 1 rubygems

Version Path
playbook_ui-14.12.0.pre.alpha.play1790darkaudittable5802 app/pb_kits/playbook/pb_contact/contact.html.erb
playbook_ui-14.12.0.pre.alpha.play1752updatecontenttag5801 app/pb_kits/playbook/pb_contact/contact.html.erb
playbook_ui-14.13.0.pre.rc.6 app/pb_kits/playbook/pb_contact/contact.html.erb
playbook_ui-14.13.0.pre.rc.5 app/pb_kits/playbook/pb_contact/contact.html.erb
playbook_ui-14.12.0.pre.alpha.PLAY1602lightboxoverlapnitrobug5781 app/pb_kits/playbook/pb_contact/contact.html.erb
playbook_ui-14.13.0.pre.rc.4 app/pb_kits/playbook/pb_contact/contact.html.erb
playbook_ui-14.12.0.pre.alpha.playrailsinputmaskissue5775 app/pb_kits/playbook/pb_contact/contact.html.erb
playbook_ui-14.12.0.pre.alpha.PBNTR456fixedconftoastrailsautoclose5757 app/pb_kits/playbook/pb_contact/contact.html.erb
playbook_ui-14.12.0.pre.alpha.PBNTR456fixedconftoastrailsautoclose5754 app/pb_kits/playbook/pb_contact/contact.html.erb
playbook_ui-14.12.0.pre.alpha.PLAY1602lightboxoverlapnitrobugzindextoken5751 app/pb_kits/playbook/pb_contact/contact.html.erb
playbook_ui-14.12.0.pre.alpha.PBNTR456fixedconftoastrailsautoclose5738 app/pb_kits/playbook/pb_contact/contact.html.erb
playbook_ui-14.13.0.pre.rc.3 app/pb_kits/playbook/pb_contact/contact.html.erb
playbook_ui-14.12.0.pre.alpha.PLAY1865reactdatepickerreinitializingbug5732 app/pb_kits/playbook/pb_contact/contact.html.erb
playbook_ui-14.12.0.pre.alpha.PBNTR456fixedconftoastrailsautoclose5728 app/pb_kits/playbook/pb_contact/contact.html.erb
playbook_ui-14.12.0.pre.alpha.play1862buttondisabledlinkbug5716 app/pb_kits/playbook/pb_contact/contact.html.erb
playbook_ui-14.12.0.pre.alpha.play1862buttondisabledlinkbug5714 app/pb_kits/playbook/pb_contact/contact.html.erb
playbook_ui-14.13.0.pre.rc.2 app/pb_kits/playbook/pb_contact/contact.html.erb
playbook_ui-14.13.0.pre.rc.1 app/pb_kits/playbook/pb_contact/contact.html.erb
playbook_ui-14.13.0.pre.rc.0 app/pb_kits/playbook/pb_contact/contact.html.erb
playbook_ui-14.12.0.pre.alpha.advancedtablealignmentfixes5693 app/pb_kits/playbook/pb_contact/contact.html.erb