Sha256: f3955381fdf3c5522b51676f74083eb533c61e76ef61537ef56668a7a6937aae

Contents?: true

Size: 1.03 KB

Versions: 22

Compression:

Stored size: 1.03 KB

Contents

<% if Devise.mappings[:user].omniauthable? && current_organization.enabled_omniauth_providers.any? %>
  <div class="row">
    <div class="columns medium-8 medium-centered">
      <span class="register__separator">
        <span class="register__separator__text"><%= t("or", scope: "decidim.devise.shared.omniauth_buttons") %></span>
      </span>
      <div class="text-center">
        <%- current_organization.enabled_omniauth_providers.keys.each do |provider| %>
          <%= 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="show-for-sr">
              <%= t("devise.shared.links.sign_in_with_provider", provider: normalize_provider_name(provider).titleize) %>
            </span>
          <% end %>
        <% end %>
      </div>
    </div>
  </div>
<% end %>

Version data entries

22 entries across 22 versions & 1 rubygems

Version Path
decidim-core-0.25.2 app/views/decidim/devise/shared/_omniauth_buttons_mini.html.erb
decidim-core-0.25.1 app/views/decidim/devise/shared/_omniauth_buttons_mini.html.erb
decidim-core-0.25.0 app/views/decidim/devise/shared/_omniauth_buttons_mini.html.erb
decidim-core-0.25.0.rc4 app/views/decidim/devise/shared/_omniauth_buttons_mini.html.erb
decidim-core-0.25.0.rc3 app/views/decidim/devise/shared/_omniauth_buttons_mini.html.erb
decidim-core-0.25.0.rc2 app/views/decidim/devise/shared/_omniauth_buttons_mini.html.erb
decidim-core-0.25.0.rc1 app/views/decidim/devise/shared/_omniauth_buttons_mini.html.erb
decidim-core-0.24.3 app/views/decidim/devise/shared/_omniauth_buttons_mini.html.erb
decidim-core-0.23.6 app/views/decidim/devise/shared/_omniauth_buttons_mini.html.erb
decidim-core-0.24.2 app/views/decidim/devise/shared/_omniauth_buttons_mini.html.erb
decidim-core-0.23.5 app/views/decidim/devise/shared/_omniauth_buttons_mini.html.erb
decidim-core-0.24.1 app/views/decidim/devise/shared/_omniauth_buttons_mini.html.erb
decidim-core-0.24.0 app/views/decidim/devise/shared/_omniauth_buttons_mini.html.erb
decidim-core-0.24.0.rc2 app/views/decidim/devise/shared/_omniauth_buttons_mini.html.erb
decidim-core-0.23.4 app/views/decidim/devise/shared/_omniauth_buttons_mini.html.erb
decidim-core-0.24.0.rc1 app/views/decidim/devise/shared/_omniauth_buttons_mini.html.erb
decidim-core-0.23.3 app/views/decidim/devise/shared/_omniauth_buttons_mini.html.erb
decidim-core-0.23.2 app/views/decidim/devise/shared/_omniauth_buttons_mini.html.erb
decidim-core-0.23.1 app/views/decidim/devise/shared/_omniauth_buttons_mini.html.erb
decidim-core-0.23.1.rc1 app/views/decidim/devise/shared/_omniauth_buttons_mini.html.erb