Sha256: 21d5e2b748d86422dbf9e4a7fd66507172f628f2c4e17e6b3fe6cd6e9e601886

Contents?: true

Size: 969 Bytes

Versions: 27

Compression:

Stored size: 969 Bytes

Contents

<% if devise_mapping.omniauthable? && any_social_provider_enabled? %>
  <div class="row">
    <div class="columns large-4 mediumlarge-6 medium-8 medium-centered">
      <span class="register__separator">
        <span class="register__separator__text"><%= t('.or') %></span>
      </span>
      <%- resource_class.omniauth_providers.each do |provider| %>
        <% if social_provider_enabled? provider %>
          <div class="social-register">
            <%= link_to decidim.send("user_#{provider}_omniauth_authorize_path"), class: "button button--social button--#{normalize_provider_name(provider)}" do %>
              <span class="button--social__icon">
                <%= icon normalize_provider_name(provider) %>
              </span>
              <%= t("devise.shared.links.sign_in_with_provider", provider: normalize_provider_name(provider).titleize) %>
            <% end %>
          </div>
        <% end %>
      <% end %>
    </div>
  </div>
<% end %>

Version data entries

27 entries across 27 versions & 2 rubygems

Version Path
decidim-core-0.6.8 app/views/decidim/devise/shared/_omniauth_buttons.html.erb
decidim-0.6.8 decidim-core/app/views/decidim/devise/shared/_omniauth_buttons.html.erb
decidim-core-0.6.7 app/views/decidim/devise/shared/_omniauth_buttons.html.erb
decidim-0.6.7 decidim-core/app/views/decidim/devise/shared/_omniauth_buttons.html.erb
decidim-core-0.6.6 app/views/decidim/devise/shared/_omniauth_buttons.html.erb
decidim-0.6.6 decidim-core/app/views/decidim/devise/shared/_omniauth_buttons.html.erb
decidim-core-0.6.5 app/views/decidim/devise/shared/_omniauth_buttons.html.erb
decidim-0.6.5 decidim-core/app/views/decidim/devise/shared/_omniauth_buttons.html.erb
decidim-core-0.6.4 app/views/decidim/devise/shared/_omniauth_buttons.html.erb
decidim-0.6.4 decidim-core/app/views/decidim/devise/shared/_omniauth_buttons.html.erb
decidim-core-0.6.3 app/views/decidim/devise/shared/_omniauth_buttons.html.erb
decidim-0.6.3 decidim-core/app/views/decidim/devise/shared/_omniauth_buttons.html.erb
decidim-core-0.6.2 app/views/decidim/devise/shared/_omniauth_buttons.html.erb
decidim-0.6.2 decidim-core/app/views/decidim/devise/shared/_omniauth_buttons.html.erb
decidim-core-0.6.1 app/views/decidim/devise/shared/_omniauth_buttons.html.erb
decidim-0.6.1 decidim-core/app/views/decidim/devise/shared/_omniauth_buttons.html.erb
decidim-core-0.6.0 app/views/decidim/devise/shared/_omniauth_buttons.html.erb
decidim-0.6.0 decidim-core/app/views/decidim/devise/shared/_omniauth_buttons.html.erb
decidim-core-0.5.1 app/views/decidim/devise/shared/_omniauth_buttons.html.erb
decidim-0.5.1 decidim-core/app/views/decidim/devise/shared/_omniauth_buttons.html.erb