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

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