Sha256: f3955381fdf3c5522b51676f74083eb533c61e76ef61537ef56668a7a6937aae
Contents?: true
Size: 1.03 KB
Versions: 22
Compression:
Stored size: 1.03 KB
Contents
<% if Devise.mappings[:user].omniauthable? && current_organization.enabled_omniauth_providers.any? %> <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"> <%- current_organization.enabled_omniauth_providers.keys.each do |provider| %> <%= link_to decidim.send("user_#{provider}_omniauth_authorize_path"), class: "button button--social button--#{normalize_provider_name(provider)} button--social--mini", method: :post do %> <span class="button--social__icon" aria-hidden="true"> <%= oauth_icon provider %> </span> <span class="show-for-sr"> <%= t("devise.shared.links.sign_in_with_provider", provider: normalize_provider_name(provider).titleize) %> </span> <% end %> <% end %> </div> </div> </div> <% end %>
Version data entries
22 entries across 22 versions & 1 rubygems