1
0
Fork 0
mirror of https://github.com/maybe-finance/maybe.git synced 2025-07-22 22:59:39 +02:00
Maybe/app/views/passwords/edit.html.erb
Zach Gollwitzer 1ffa13f3b3
Use DB for auth sessions (#1233)
* DB sessions

* Validations for profile image
2024-10-03 14:42:22 -04:00

22 lines
546 B
Text

<h1><% t(".title") %></h1>
<%= styled_form_with model: Current.user, url: password_path, class: "space-y-4" do |form| %>
<div>
<%= form.label :password_challenge, t(".password_challenge") %>
<%= form.password_field :password_challenge %>
</div>
<div>
<%= form.label :password, t(".password") %>
<%= form.password_field :password %>
</div>
<div>
<%= form.label :password_confirmation %>
<%= form.password_field :password_confirmation %>
</div>
<div>
<%= form.submit t(".submit") %>
</div>
<% end %>