Sha256: 770c21198136c70cf482c131cf97e6199161ce14100519fd963ea9455ecd8003
Contents?: true
Size: 897 Bytes
Versions: 27
Compression:
Stored size: 897 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"> <%= icon normalize_provider_name(provider) %> </span> <% end %> <% end %> <% end %> </div> </div> </div> <% end %>
Version data entries
27 entries across 27 versions & 2 rubygems