Sha256: 5800dba2e8957967cd782cd54fc3fdd8a4d78f85f0de3ba6a60aa1977dca4e64

Contents?: true

Size: 970 Bytes

Versions: 8

Compression:

Stored size: 970 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

8 entries across 8 versions & 1 rubygems

Version Path
decidim-core-0.2.0 app/views/decidim/devise/shared/_omniauth_buttons.html.erb
decidim-core-0.1.0 app/views/decidim/devise/shared/_omniauth_buttons.html.erb
decidim-core-0.0.8.1 app/views/decidim/devise/shared/_omniauth_buttons.html.erb
decidim-core-0.0.7 app/views/decidim/devise/shared/_omniauth_buttons.html.erb
decidim-core-0.0.6 app/views/decidim/devise/shared/_omniauth_buttons.html.erb
decidim-core-0.0.5 app/views/decidim/devise/shared/_omniauth_buttons.html.erb
decidim-core-0.0.3 app/views/decidim/devise/shared/_omniauth_buttons.html.erb
decidim-core-0.0.2 app/views/decidim/devise/shared/_omniauth_buttons.html.erb