Sha256: 80e46bc46ebb7b39ba07eb6b16c865af019603ff9826673dec601728ebccd8f9

Contents?: true

Size: 816 Bytes

Versions: 8

Compression:

Stored size: 816 Bytes

Contents

<%= render component_tag do %>
  <div class="callout-container">  
    <div class="callout-avatar">
      <%= avatar %>
    </div>
    <div class="callout-main">
      <div class="callout-details">
        <div class="callout-blurb">
          <%= content %>
        </div>
        <div class="callout-tel">
          <%= coco_icon(:phone, size: :md) %>
          <ul class="callout-numbers">
            <% @contact_numbers.each do |tel| %>
              <li class="callout-number">
                <span><%= tel[:region] %>:</span>
                <%= helpers.coco_link_to tel[:number], "tel:#{tel[:number]}", theme: :primary %>
              </li>
            <% end %>
          </ul>
        </div>
      </div>
      <div class="callout-action">
        <%= action %>
      </div>
    </div>
  </div>
<% end %>

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
coveragebook_components-0.16.0 app/components/coco/app/contact_callout/contact_callout.html.erb
coveragebook_components-0.15.0 app/components/coco/app/contact_callout/contact_callout.html.erb
coveragebook_components-0.14.0 app/components/coco/app/contact_callout/contact_callout.html.erb
coveragebook_components-0.13.1 app/components/coco/app/contact_callout/contact_callout.html.erb
coveragebook_components-0.13.0 app/components/coco/app/contact_callout/contact_callout.html.erb
coveragebook_components-0.12.2 app/components/coco/app/blocks/contact_callout/contact_callout.html.erb
coveragebook_components-0.12.1 app/components/coco/app/blocks/contact_callout/contact_callout.html.erb
coveragebook_components-0.12.0 app/components/coco/app/blocks/contact_callout/contact_callout.html.erb