akkoma/lib/pleroma/web/templates/twitter_api/password/reset.html.eex

14 lines
488 B
Elixir
Raw Normal View History

2017-10-19 15:37:24 +00:00
<h2>Password Reset for <%= @user.nickname %></h2>
<%= form_for @conn, Routes.reset_password_path(@conn, :do_reset), [as: "data"], fn f -> %>
2019-03-27 16:07:20 +00:00
<div class="form-row">
<%= label f, :password, "Password" %>
<%= password_input f, :password %>
</div>
<div class="form-row">
<%= label f, :password_confirmation, "Confirmation" %>
<%= password_input f, :password_confirmation %>
</div>
<%= hidden_input f, :token, value: @token.token %>
<%= submit "Reset" %>
2017-10-19 15:37:24 +00:00
<% end %>