<% content_for :title, t("auth.password_reset.meta_title") %> <% content_for :robots, "noindex, nofollow" %>

<%= t("auth.password_reset.title") %>

<%= 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 %>