summaryrefslogtreecommitdiff
path: root/app/views/passwords/edit.html.erb
blob: 9f0c87c8d152addb9f22dc2fd188f1c3304cc4d8 (plain)
1
2
3
4
5
6
7
8
9
<h1>Update your password</h1>

<%= tag.div(flash[:alert], style: "color:red") if flash[:alert] %>

<%= form_with url: password_path(params[:token]), method: :put do |form| %>
  <%= form.password_field :password, required: true, autocomplete: "new-password", placeholder: "Enter new password", maxlength: 72 %><br>
  <%= form.password_field :password_confirmation, required: true, autocomplete: "new-password", placeholder: "Repeat new password", maxlength: 72 %><br>
  <%= form.submit "Save" %>
<% end %>
Copyright 2019--2025 Marius PETER