Sha256: c3cf46b886100201d524a5c49b4fab817b23cc31b313beb82fb0e90156ba2da2

Contents?: true

Size: 767 Bytes

Versions: 12

Compression:

Stored size: 767 Bytes

Contents

- if controller_name != 'sessions'
  = link_to t('.sign_in'), new_session_path(resource_name)
  %br/
- if devise_mapping.registerable? && controller_name != 'registrations'
  = link_to t('.sign_up'), new_registration_path(resource_name)
  %br/
- if devise_mapping.recoverable? && controller_name != 'passwords'
  = link_to t('.password'), new_password_path(resource_name)
  %br/
- if devise_mapping.lockable? && resource_class.unlock_strategy_enabled?(:email) && controller_name != 'unlocks'
  = link_to t('.unlock'), new_unlock_path(resource_name)
  %br/

- if devise_mapping.omniauthable?
  - resource_class.omniauth_providers.each do |provider|
    = link_to "#{t('.omniauth')} #{provider.to_s.titleize}", omniauth_authorize_path(resource_name, provider)
    %br/

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
rmails-0.2.5 app/views/devise/shared/_links.haml
rmails-0.2.4 app/views/devise/shared/_links.haml
rmails-0.2.3 app/views/devise/shared/_links.haml
rmails-0.2.2 app/views/devise/shared/_links.haml
rmails-0.2.1 app/views/devise/shared/_links.haml
rmails-0.2.0 app/views/devise/shared/_links.haml
rmails-0.1.6 app/views/devise/shared/_links.haml
rmails-0.1.5 app/views/devise/shared/_links.haml
rmails-0.1.4 app/views/devise/shared/_links.haml
rmails-0.1.3 app/views/devise/shared/_links.haml
rmails-0.1.2 app/views/devise/shared/_links.haml
rmails-0.1.1 app/views/devise/shared/_links.haml