Sha256: 0c33377c8943632774963bd365e47ab0fa602153ff7702329c607a172587368d

Contents?: true

Size: 903 Bytes

Versions: 7

Compression:

Stored size: 903 Bytes

Contents

<%- if devise_mapping.omniauthable? %>
  <div class="margin text-center login_via">
    <span><%= _("Login using") %>:</span>
    <br/><br/>
    <%- resource_class.omniauth_providers.each do |service| %>
      <% if [:facebook, :twitter, :google_oauth2].include? service %>
        <% if service == :facebook %><a href='/auth/facebook/' class="btn bg-light-blue btn-circle"><i class="fa fa-facebook"></i></a><% end %>
        <% if service == :twitter %><a href='/auth/twitter/' class="btn bg-aqua btn-circle"><i class="fa fa-twitter"></i></a><% end %>
        <% if service == :google_oauth2 %><a href='/auth/google_oauth2/' class="btn bg-red btn-circle"><i class="fa fa-google-plus"></i></a><% end %>
      <% else %>
        <a href='<%= faalis.user_omniauth_authorize_path(service) %>' class="btn btn-circle"><i class="fa fa-<%= service %>"></i></a>
      <% end %>
    <% end %>
  </div>
<% end %>

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
dashstrap-1.1.0 app/views/devise/shared/_omni_link.erb
dashstrap-1.0.0 app/views/devise/shared/_omni_link.erb
dashstrap-0.2.3 app/views/devise/shared/_omni_link.erb
dashstrap-0.2.2 app/views/devise/shared/_omni_link.erb
dashstrap-0.2.1 app/views/devise/shared/_omni_link.erb
dashstrap-0.2.0 app/views/devise/shared/_omni_link.erb
dashstrap-0.1.0 app/views/devise/shared/_omni_link.erb