Sha256: d2f09d13ee919d8bf00301b327700f08eb58672ea3eedd212332cab11f5e4979

Contents?: true

Size: 470 Bytes

Versions: 3

Compression:

Stored size: 470 Bytes

Contents

<dt>
  <% if contact_detail.label? %>
    <%= contact_detail.label %>
  <% else %>
    <%=t contact_detail.type, scope: [:popolo, :contact_details, :types], default: contact_detail.type %>
  <% end %>
</dt>
<dd>
  <% if contact_detail.type == 'email' %>
    <%= mail_to contact_detail.value %>
  <% else %>
    <%= contact_detail.value %>
  <% end %>
  <% if contact_detail.note? %>
    <span class="label label-info"><%= contact_detail.note %></span>
  <% end %>
</dd>

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
popolo-0.1.1 app/views/popolo/contact_details/_contact_detail.html.erb
popolo-0.1.0 app/views/popolo/contact_details/_contact_detail.html.erb
popolo-0.0.3 app/views/popolo/contact_details/_contact_detail.html.erb