Manuel Bustillo 775e6146ab Revert "Remove unnecessary views"
This reverts commit 8b336164362bada541f1dbac48dd46419638d5f5.
2024-11-30 10:44:19 +01:00

12 lines
548 B
Plaintext

<%# Copyright (C) 2024 Manuel Bustillo %>
<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 %>