Sha256: 271fa8e125d56f1af7acd7102b3e11bf828be0f607cb79da349284c26e933fbb

Contents?: true

Size: 1.13 KB

Versions: 38

Compression:

Stored size: 1.13 KB

Contents

- if controller_name != 'sessions'
  = link_to I18n.t("iugu.sign_in"), new_session_path(resource_name)
  %br/
- if IuguSDK::enable_signup_form
  - if devise_mapping.registerable? && controller_name != 'registrations'
    = link_to I18n.t("iugu.sign_up"), new_registration_path(resource_name)
    %br/
  - if devise_mapping.recoverable? && controller_name != 'passwords'
    = link_to I18n.t("iugu.forgot_your_password?"), new_password_path(resource_name)
  %br/
- if IuguSDK::enable_user_confirmation
  - if devise_mapping.confirmable? && controller_name != 'confirmations'
    = link_to I18n.t("iugu.did_not_receive_confirmation_instructions?"), 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 IuguSDK::enable_social_login
  - if devise_mapping.omniauthable?
    - resource_class.omniauth_providers.each do |provider|
      = link_to "#{I18n.t('iugu.sign_in_with')} #{provider.to_s.titleize}", omniauth_authorize_path(resource_name, provider)
      %br/

Version data entries

38 entries across 38 versions & 1 rubygems

Version Path
iugusdk-1.0.0.alpha.23 app/views/iugu/shared/_links.html.haml
iugusdk-1.0.0.alpha.22 app/views/iugu/shared/_links.html.haml
iugusdk-1.0.0.alpha.21 app/views/iugu/shared/_links.html.haml
iugusdk-1.0.0.alpha.20 app/views/iugu/shared/_links.html.haml
iugusdk-1.0.0.alpha.19 app/views/iugu/shared/_links.html.haml
iugusdk-1.0.0.alpha.18 app/views/iugu/shared/_links.html.haml
iugusdk-1.0.0.alpha.17 app/views/iugu/shared/_links.html.haml
iugusdk-1.0.0.alpha.16 app/views/iugu/shared/_links.html.haml
iugusdk-1.0.0.alpha.14 app/views/iugu/shared/_links.html.haml
iugusdk-1.0.0.alpha.13 app/views/iugu/shared/_links.html.haml
iugusdk-1.0.0.alpha.12 app/views/iugu/shared/_links.html.haml
iugusdk-1.0.0.alpha.11 app/views/iugu/shared/_links.html.haml
iugusdk-1.0.0.alpha.10 app/views/iugu/shared/_links.html.haml
iugusdk-1.0.0.alpha.9 app/views/iugu/shared/_links.html.haml
iugusdk-1.0.0.alpha.7 app/views/iugu/shared/_links.haml
iugusdk-1.0.0.alpha.5 app/views/iugu/shared/_links.haml
iugusdk-1.0.0.alpha.4 app/views/iugu/shared/_links.haml
iugusdk-1.0.0.alpha.3 app/views/iugu/shared/_links.haml