Sha256: 536b1fd9b8217662d65abf01f070690d0806c98bc666f968494cf3ec633d14f2

Contents?: true

Size: 1.46 KB

Versions: 1

Compression:

Stored size: 1.46 KB

Contents

<div class="devise-links d-flex flex-column justify-content-center gap-3">
  <%- if controller_name != 'sessions' %>
    <div>
      <%= link_to t(".sign_in"), new_session_path(resource_name) %>
    </div>
  <% end %>

  <%- if devise_mapping.registerable? && controller_name != 'registrations' %>
    <div>
      <%= link_to t(".sign_up"), new_registration_path(resource_name) %>
    </div>
  <% end %>

  <%- if devise_mapping.recoverable? && controller_name != 'passwords' && controller_name != 'registrations' %>
    <div>
      <%= link_to t(".forgot_your_password"), new_password_path(resource_name) %>
    </div>
  <% end %>

  <%- if false # devise_mapping.confirmable? && controller_name != 'confirmations' %>
    <div>
      <%= link_to t('.didn_t_receive_confirmation_instructions'), new_confirmation_path(resource_name) %>
    </div>
  <% end %>

  <%- if false # devise_mapping.lockable? && resource_class.unlock_strategy_enabled?(:email) && controller_name != 'unlocks' %>
    <div>
    <%= link_to t('.didn_t_receive_unlock_instructions'), new_unlock_path(resource_name) %>
    </div>
  <% end %>

  <%- if devise_mapping.omniauthable? %>
    <%- resource_class.omniauth_providers.each do |provider| %>
      <%= button_to t('.sign_in_with_provider', provider: OmniAuth::Utils.camelize(provider)), omniauth_authorize_path(resource_name, provider), data: { turbo: false } %>
    <% end %>
  <% end %>
</div>
<style type="text/css">
  .devise-links {
    margin-top: 3em;
  }
</style>

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
pg_rails-7.6.28 pg_layout/app/views/devise/shared/_links.html.erb