Sha256: 9a14638c0f79b77e19399ca538867f598af915a503a6e82ad2526da5f21a6718

Contents?: true

Size: 1.09 KB

Versions: 2

Compression:

Stored size: 1.09 KB

Contents

- if controller_name != 'sessions'
  = link_to 'Вход с паролем', auth.new_session_path(resource_name)
  br
- if devise_mapping.registerable? && controller_name != 'registrations'
  = link_to 'Регистрация', auth.new_registration_path(resource_name)
  br
- if devise_mapping.recoverable? && controller_name != 'passwords'
  = link_to 'Восстановление пароля', auth.new_password_path(resource_name)
  br
- if devise_mapping.confirmable? && controller_name != 'confirmations'
  = link_to 'Если вы не получили инструкцию о том как подтвердить адрес электронной почты', new_confirmation_path(resource_name)
  br
- if devise_mapping.lockable? && resource_class.unlock_strategy_enabled?(:email) && controller_name != 'unlocks'
  = link_to "Didn't receive unlock instructions?", new_unlock_path(resource_name)
  br
- if devise_mapping.omniauthable?
  - resource_class.omniauth_providers.each do |provider|
    = link_to "Sign in with #{provider.to_s.titleize}", omniauth_authorize_path(resource_name, provider)
    br

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
constructor-core-0.9.1 app/views/constructor_core/devise/shared/_links.html.slim
constructor-core-0.9.0 app/views/constructor_core/devise/shared/_links.html.slim