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

edit.html.haml « passwords « devise « views « app - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 6ca0c5d8c084e0b5d2578af9d4a40a481d637169 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
= form_for(resource, as: resource_name, url: password_path(resource_name), html: { method: :put, class: "login-box" }) do |f|
  = image_tag "login-logo.png", width: "304", height: "66", class: "login-logo", alt: "Login Logo"
  %h3 Change your password
  = devise_error_messages!
  = f.hidden_field :reset_password_token
  %div
    = f.password_field :password, class: "text top", placeholder: "New password"
  %div
    = f.password_field :password_confirmation, class: "text bottom", placeholder: "Confirm new password"
  %div
    = f.submit "Change my password", class: "btn btn-primary"
    .right= render partial: "devise/shared/links"