1
0
Fork 0
mirror of https://github.com/maybe-finance/maybe.git synced 2025-08-06 05:55:21 +02:00

Improve password reset flow, normalize translations
Some checks are pending
Publish Docker image / ci (push) Waiting to run
Publish Docker image / Build docker image (push) Blocked by required conditions

This commit is contained in:
Zach Gollwitzer 2024-11-05 17:15:29 -05:00
parent cee9692b35
commit f2739b79fb
22 changed files with 58 additions and 69 deletions

View file

@ -1,9 +1,11 @@
<%
header_title t(".title")
%>
<% header_title t(".title") %>
<%= styled_form_with url: password_reset_path, class: "space-y-4" do |form| %>
<%= form.email_field :email, label: true, autofocus: false, autocomplete: "email", required: "required", placeholder: "you@example.com" %>
<% if params[:step] == "pending" %>
<p class="text-sm text-gray-500 text-center"><%= t(".requested") %></p>
<% else %>
<%= styled_form_with url: password_reset_path, class: "space-y-4" do |form| %>
<%= form.email_field :email, label: true, autofocus: false, autocomplete: "email", required: "required", placeholder: "you@example.com" %>
<%= form.submit t(".submit") %>
<%= form.submit t(".submit") %>
<% end %>
<% end %>