_no_password.html.haml 558 Bytes
Newer Older
1
- if show_no_password_message?
2 3 4 5
  = render 'shared/global_alert',
    variant: :warning,
    alert_class: 'js-no-password-message',
    close_button_class: 'js-hide-no-password-message' do
6
    .gl-alert-body
7
      = no_password_message
8
    .gl-alert-actions
9 10
      = link_to _('Remind later'), '#', class: 'js-hide-no-password-message gl-alert-action btn btn-confirm btn-md gl-button'
      = link_to _("Don't show again"), profile_path(user: { hide_no_password: true }), method: :put, role: 'button', class: 'gl-alert-action btn btn-default btn-md gl-button'