summaryrefslogtreecommitdiff
path: root/app/views/shared/_no_password.html.haml
blob: d1e1a8a819d8a46eab6e20737623cd513cbcdd64 (plain)
1
2
3
4
5
6
7
8
9
10
- if show_no_password_message?
  = render 'shared/global_alert',
    variant: :warning,
    alert_class: 'js-no-password-message',
    close_button_class: 'js-hide-no-password-message' do
    .gl-alert-body
      = no_password_message
    .gl-alert-actions
      = 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'