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

Version Path
decidim-core-0.27.9 app/views/decidim/devise/shared/_omniauth_buttons.html.erb
decidim-core-0.27.8 app/views/decidim/devise/shared/_omniauth_buttons.html.erb
decidim-core-0.27.7 app/views/decidim/devise/shared/_omniauth_buttons.html.erb
decidim-core-0.27.6 app/views/decidim/devise/shared/_omniauth_buttons.html.erb
decidim-core-0.26.10 app/views/decidim/devise/shared/_omniauth_buttons.html.erb
decidim-core-0.26.9 app/views/decidim/devise/shared/_omniauth_buttons.html.erb
decidim-core-0.27.5 app/views/decidim/devise/shared/_omniauth_buttons.html.erb
decidim-core-0.26.8 app/views/decidim/devise/shared/_omniauth_buttons.html.erb
decidim-core-0.27.4 app/views/decidim/devise/shared/_omniauth_buttons.html.erb
decidim-core-0.27.3 app/views/decidim/devise/shared/_omniauth_buttons.html.erb
decidim-core-0.26.7 app/views/decidim/devise/shared/_omniauth_buttons.html.erb
decidim-core-0.26.5 app/views/decidim/devise/shared/_omniauth_buttons.html.erb
decidim-core-0.27.2 app/views/decidim/devise/shared/_omniauth_buttons.html.erb
decidim-core-0.27.1 app/views/decidim/devise/shared/_omniauth_buttons.html.erb
decidim-core-0.26.4 app/views/decidim/devise/shared/_omniauth_buttons.html.erb
decidim-core-0.27.0 app/views/decidim/devise/shared/_omniauth_buttons.html.erb
decidim-core-0.26.3 app/views/decidim/devise/shared/_omniauth_buttons.html.erb
decidim-core-0.27.0.rc2 app/views/decidim/devise/shared/_omniauth_buttons.html.erb
decidim-core-0.27.0.rc1 app/views/decidim/devise/shared/_omniauth_buttons.html.erb
decidim-core-0.26.2 app/views/decidim/devise/shared/_omniauth_buttons.html.erb