Sha256: 4e4eeb14f8c541fb9e6e991d2738fe1b3fbcb924ad99b2542aa0040f47da6cad

Contents?: true

Size: 509 Bytes

Versions: 6

Compression:

Stored size: 509 Bytes

Contents

<% PROVIDERS.each do |provider| %>
  <% provider_name = OmniAuth.config.camelizations[provider.to_s.downcase] || provider.to_s.titleize %>
  <% image_name = provider.to_s.downcase %>
  <li>
    <a href="<%= request.script_name %><%= "/" + OmniAuth.config.path_prefix.split('/').last.to_s %><%= "/" + provider.to_s.downcase %>" class="noicon">
      <%= image_tag "contour/#{image_name}_32.png", align: 'absmiddle', height: "28px", title: provider_name %>
      <%= provider_name %>
    </a>
  </li>
<% end %>

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
contour-1.0.0.beta6 app/views/contour/authentications/_menu.html.erb
contour-1.0.0.beta5 app/views/contour/authentications/_menu.html.erb
contour-1.0.0.beta4 app/views/contour/authentications/_menu.html.erb
contour-1.0.0.beta3 app/views/contour/authentications/_menu.html.erb
contour-1.0.0.beta2 app/views/contour/authentications/_menu.html.erb
contour-1.0.0.beta app/views/contour/authentications/_menu.html.erb