Make password reset pages translatable
[akkoma] / lib / pleroma / web / templates / twitter_api / password / reset.html.eex
1 <h2>Password Reset for <%= @user.nickname %></h2>
2 <%= form_for @conn, Routes.reset_password_path(@conn, :do_reset), [as: "data"], fn f -> %>
3 <div class="form-row">
4 <%= label f, :password, Gettext.dpgettext("static_pages", "password reset form password prompt", "Password") %>
5 <%= password_input f, :password %>
6 </div>
7 <div class="form-row">
8 <%= label f, :password_confirmation, Gettext.dpgettext("static_pages", "password reset form confirm password prompt", "Confirmation") %>
9 <%= password_input f, :password_confirmation %>
10 </div>
11 <%= hidden_input f, :token, value: @token.token %>
12 <%= submit Gettext.dpgettext("static_pages", "password reset button", "Reset") %>
13 <% end %>