Sha256: ad76d2e689a590fc0c8699114f45c1ce2d1bab20e7c411c94f5037e0b0c7aaf8
Contents?: true
Size: 672 Bytes
Versions: 8
Compression:
Stored size: 672 Bytes
Contents
<% if PROVIDERS.size > 0 %> <div class="form-group"> <label class="control-label">Sign in with</label> <div class="col-lg-10"> <% PROVIDERS.each do |provider| %> <% provider_name = OmniAuth.config.camelizations[provider.to_s.downcase] || provider.to_s.titleize %> <% image_name = provider.to_s.downcase %> <a href="<%= request.script_name %><%= "/" + OmniAuth.config.path_prefix.split('/').last.to_s %><%= "/" + provider.to_s.downcase %>" class="btn" style="white-space:nowrap"> <%= image_tag "contour/#{image_name}_32.png", align: 'absmiddle', height: "28px" %> </a> <% end %> </div> </div> <% end %>
Version data entries
8 entries across 8 versions & 1 rubygems