ubicloud/views/auth/reset_password_request.erb
Jeremy Evans 750ebdc055 Change from erb_formatter to herb/formatter
Currently, herb/formatter has at least 4 bugs the prevent us from
switching to it (https://github.com/marcoroth/herb/issues 476, 477,
478, and 479). This includes manual fixes for each issue.

herb/formatter also introduces a rubocop violation for the
Layout/AssignmentIndentation cop. This disables that cop.
2025-09-05 14:01:01 -07:00

20 lines
693 B
Text

<% @page_title = "Request Password Reset" %>
<% @page_message = "Request password reset" %>
<% form(action: rodauth.reset_password_request_path, role: :form, method: :post, class: "rodauth space-y-6") do %>
<%== rodauth.reset_password_request_additional_form_tags %>
<div>
<p class="leading-6 text-sm">
<%== rodauth.reset_password_explanatory_text %>
</p>
</div>
<%== render("components/rodauth/login_field") %>
<div class="flex flex-col text-center">
<%== part("components/form/submit_button", text: "Request Password Reset") %>
<a href="/login" class="mt-2 text-sm font-semibold leading-6 text-gray-900">Sign in to another account</a>
</div>
<% end %>