mirror of
https://github.com/maybe-finance/maybe.git
synced 2025-08-06 05:55:21 +02:00
Improve password reset flow, normalize translations
This commit is contained in:
parent
cee9692b35
commit
f2739b79fb
22 changed files with 58 additions and 69 deletions
|
@ -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 %>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue