mirror of
https://akkoma.dev/AkkomaGang/akkoma.git
synced 2024-10-30 13:33:12 +00:00
14 lines
704 B
Elixir
14 lines
704 B
Elixir
<h2>Password Reset for <%= @user.nickname %></h2>
|
|
<%= form_for @conn, Routes.reset_password_path(@conn, :do_reset), [as: "data"], fn f -> %>
|
|
<div class="form-row">
|
|
<%= label f, :password, Gettext.dpgettext("static_pages", "password reset form password prompt", "Password") %>
|
|
<%= password_input f, :password %>
|
|
</div>
|
|
<div class="form-row">
|
|
<%= label f, :password_confirmation, Gettext.dpgettext("static_pages", "password reset form confirm password prompt", "Confirmation") %>
|
|
<%= password_input f, :password_confirmation %>
|
|
</div>
|
|
<%= hidden_input f, :token, value: @token.token %>
|
|
<%= submit Gettext.dpgettext("static_pages", "password reset button", "Reset") %>
|
|
<% end %>
|