mirror of
https://github.com/we-promise/sure.git
synced 2026-04-08 23:04:49 +00:00
22 lines
640 B
Plaintext
22 lines
640 B
Plaintext
<% header_title t(".title") %>
|
|
|
|
<% if params[:step] == "pending" %>
|
|
<p class="text-sm text-secondary text-center py-8"><%= 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") %>
|
|
<% end %>
|
|
<% end %>
|
|
|
|
<div class="mt-4">
|
|
<%= render DS::Link.new(
|
|
text: t(".back"),
|
|
href: new_session_path,
|
|
variant: :secondary,
|
|
full_width: true,
|
|
class: "bg-white hover:bg-gray-100"
|
|
) %>
|
|
</div>
|