Sha256: a70e423041a66f2fbac89fa495313131de3e7eeb71405028fa15af56aa750b3e
Contents?: true
Size: 1.09 KB
Versions: 24
Compression:
Stored size: 1.09 KB
Contents
<% if Devise.mappings[:user].omniauthable? && current_organization.enabled_omniauth_providers.any? %> <div class="row"> <div class="columns medium-8 medium-centered"> <div class="text-center"> <%- current_organization.enabled_omniauth_providers.keys.each do |provider| %> <div class="social-register"> <%= 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="button--social__text"> <%= t("devise.shared.links.sign_in_with_provider", provider: normalize_provider_name(provider).titleize) %> </span> <% end %> </div> <% end %> </div> <span class="register__separator"> <span class="register__separator__text"><%= t("or", scope: "decidim.devise.shared.omniauth_buttons") %></span> </span> </div> </div> <% end %>
Version data entries
24 entries across 24 versions & 1 rubygems