Files
MatchLiveTv/backend/app/views/public/password_resets/edit.html.erb
eminuxandCursor b88f44ab1c Completa i18n IT/EN/FR/DE/ES su sito pubblico, area autenticata e admin.
Tutte le view marketing, legali, viewer, dashboard e admin usano t(); mailer utente-facing e flash localizzati; admin con LocaleResolver e selettore lingua.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-24 00:38:50 +02:00

27 lines
1.0 KiB
ERB

<% content_for :title, t("auth.password_reset.meta_title") %>
<% content_for :robots, "noindex, nofollow" %>
<section class="auth-page">
<h1><%= t("auth.password_reset.title") %></h1>
<div class="card">
<%= form_with url: public_password_reset_path, method: :patch, local: true do %>
<%= hidden_field_tag :token, @token %>
<%= render "shared/input_toggle",
name: :password,
label: t("auth.password_reset.new_password_label"),
input_type: "text",
required: true,
minlength: 8,
autocomplete: "new-password" %>
<%= render "shared/input_toggle",
name: :password_confirmation,
label: t("auth.password_confirmation"),
input_type: "text",
required: true,
autocomplete: "new-password" %>
<%= submit_tag t("auth.password_reset.submit"), class: "btn btn-primary" %>
<% end %>
<p class="auth-footer"><%= link_to t("auth.password_reset.back_to_login"), public_login_path %></p>
</div>
</section>