Sha256: bbe4b809f97edccbd3267002b3574222db2753d2604077220c6c0b09620f9284

Contents?: true

Size: 1.05 KB

Versions: 5

Compression:

Stored size: 1.05 KB

Contents

.devise__actions
  - if controller_name != 'sessions'
    = active_link_to _('Log in'), new_user_session_path
  - if devise_mapping.registerable? && controller_name != 'registrations'
    = active_link_to _('Sign up'), new_user_registration_path
  - if devise_mapping.recoverable? && controller_name != 'passwords' && controller_name != 'registrations'
    = active_link_to _('Forgot your password?'), new_user_password_path
  - if devise_mapping.confirmable? && controller_name != 'confirmations'
    = active_link_to _("Didn't receive confirmation instructions?"), new_user_confirmation_path
  - if devise_mapping.lockable? && resource_class.unlock_strategy_enabled?(:email) && controller_name != 'unlocks'
    = active_link_to _("Didn't receive unlock instructions?"), new_user_unlock_path

  - if devise_mapping.omniauthable?
    - resource_class.omniauth_providers.each do |provider|
      = active_link_to format(_('Sign in with %<provider>s'), provider: OmniAuth::Utils.camelize(provider)),
                       auth_omniauth_authorize_path(resource_name, provider)

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
elabs-5.0.0 app/views/elabs/auth/shared/_links.html.haml
elabs-4.0.0 app/views/elabs/auth/shared/_links.html.haml
elabs-3.0.0 app/views/elabs/auth/shared/_links.html.haml
elabs-2.0.0 app/views/elabs/auth/shared/_links.html.haml
elabs-2.0.0.pre app/views/elabs/auth/shared/_links.html.haml