Sha256: 7a6144f1fd1b7ee84ecc44f48bba263dd19761e5c00ce330b9f1dd2ff43e3023

Contents?: true

Size: 878 Bytes

Versions: 16

Compression:

Stored size: 878 Bytes

Contents

<% if Devise.mappings[:user].omniauthable? && any_social_provider_enabled? %>
  <div class="row">
    <div class="columns medium-8 medium-centered">
      <span class="register__separator">
        <span class="register__separator__text"><%= t('or', scope: "decidim.devise.shared.omniauth_buttons") %></span>
      </span>
      <div class="text-center">
        <%- Decidim::User.omniauth_providers.each do |provider| %>
          <% if social_provider_enabled? provider %>
            <%= link_to decidim.send("user_#{provider}_omniauth_authorize_path"), class: "button button--social button--#{normalize_provider_name(provider)} button--social--mini" do %>
              <span class="button--social__icon">
                <%= oauth_icon provider %>
              </span>
            <% end %>
          <% end %>
        <% end %>
      </div>
    </div>
  </div>
<% end %>

Version data entries

16 entries across 16 versions & 1 rubygems

Version Path
decidim-core-0.10.1 app/views/decidim/devise/shared/_omniauth_buttons_mini.html.erb
decidim-core-0.10.0 app/views/decidim/devise/shared/_omniauth_buttons_mini.html.erb
decidim-core-0.9.3 app/views/decidim/devise/shared/_omniauth_buttons_mini.html.erb
decidim-core-0.9.2 app/views/decidim/devise/shared/_omniauth_buttons_mini.html.erb
decidim-core-0.9.1 app/views/decidim/devise/shared/_omniauth_buttons_mini.html.erb
decidim-core-0.9.0 app/views/decidim/devise/shared/_omniauth_buttons_mini.html.erb
decidim-core-0.8.4 app/views/decidim/devise/shared/_omniauth_buttons_mini.html.erb
decidim-core-0.8.3 app/views/decidim/devise/shared/_omniauth_buttons_mini.html.erb
decidim-core-0.8.2 app/views/decidim/devise/shared/_omniauth_buttons_mini.html.erb
decidim-core-0.8.1 app/views/decidim/devise/shared/_omniauth_buttons_mini.html.erb
decidim-core-0.8.0 app/views/decidim/devise/shared/_omniauth_buttons_mini.html.erb
decidim-core-0.7.4 app/views/decidim/devise/shared/_omniauth_buttons_mini.html.erb
decidim-core-0.7.3 app/views/decidim/devise/shared/_omniauth_buttons_mini.html.erb
decidim-core-0.7.2 app/views/decidim/devise/shared/_omniauth_buttons_mini.html.erb
decidim-core-0.7.1 app/views/decidim/devise/shared/_omniauth_buttons_mini.html.erb
decidim-core-0.7.0 app/views/decidim/devise/shared/_omniauth_buttons_mini.html.erb