Sha256: f62e848a91e7a9407114b2c39ccfe028c9c40caa10c4e5c99492250c3e2e5565
Contents?: true
Size: 1.05 KB
Versions: 46
Compression:
Stored size: 1.05 KB
Contents
<% if Devise.mappings[:user].omniauthable? && current_organization.enabled_omniauth_providers.any? %> <div class="row"> <div class="columns large-4 mediumlarge-6 medium-8 medium-centered"> <%- 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)}", method: :post do %> <span class="button--social__icon"> <%= 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 %> <%- if current_organization.sign_in_enabled? %> <span class="register__separator"> <span class="register__separator__text"><%= t(".or") %></span> </span> <%- end %> </div> </div> <% end %>
Version data entries
46 entries across 46 versions & 1 rubygems