Welcome to mirror list, hosted at ThFree Co, Russian Federation.

_no_password.html.haml « shared « views « app - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 1f6f41187fc9646644447701114e642ddce16d0b (plain)
1
2
3
4
5
6
7
8
9
- if show_no_password_message?
  = render Pajamas::AlertComponent.new(variant: :warning,
    alert_options: { class: 'js-no-password-message' },
    close_button_options: { class: 'js-hide-no-password-message' }) do |c|
    - c.with_body do
      = no_password_message
    - c.with_actions do
      = link_button_to _('Remind later'), '#', class: 'js-hide-no-password-message gl-alert-action', variant: :confirm
      = link_button_to _("Don't show again"), profile_path(user: { hide_no_password: true }), method: :put, role: 'button', class: 'gl-alert-action'