Current section

Files

Jump to
mandarin priv templates mandarin.gen.auth reset_password_new.html.heex
Raw

priv/templates/mandarin.gen.auth/reset_password_new.html.heex

<h1><%%= dgettext("mandarin.<%= schema.context_underscore %>", "Forgot your password?") %></h1>
<.form let={f} for={:<%= schema.singular %>} action={Routes.<%= schema.route_helper %>_reset_password_path(@conn, :create)}>
<%%= forage_form_group(f, :email,
dgettext("mandarin.<%= schema.context_underscore %>", "Email"), [],
&forage_text_input/3) %>
<div class="py-4">
<%%= forage_submit dgettext("mandarin.<%= schema.context_underscore %>", "Send instructions to reset password") %>
</div>
</.form>
<p>
<%%= link dgettext("mandarin.<%= schema.context_underscore %>", "Register"), to: Routes.<%= schema.route_helper %>_registration_path(@conn, :new) %> |
<%%= link dgettext("mandarin.<%= schema.context_underscore %>", "Log in"), to: Routes.<%= schema.route_helper %>_session_path(@conn, :new) %>
</p>