aboutsummaryrefslogtreecommitdiff
path: root/lib/pleroma/web/templates/twitter_api/password/reset.html.eex
diff options
context:
space:
mode:
authordcc <dcc@logografos.com>2023-09-02 00:52:52 -0700
committerdcc <dcc@logografos.com>2023-09-02 00:52:52 -0700
commit3a4773c3c2bd0bbef244eb519b07208da9108e49 (patch)
tree973567a6f3abb37bfb0f785b1cad14ed55840ef5 /lib/pleroma/web/templates/twitter_api/password/reset.html.eex
downloadanni-3a4773c3c2bd0bbef244eb519b07208da9108e49.tar.gz
anni-3a4773c3c2bd0bbef244eb519b07208da9108e49.tar.bz2
anni-3a4773c3c2bd0bbef244eb519b07208da9108e49.zip
First
Diffstat (limited to 'lib/pleroma/web/templates/twitter_api/password/reset.html.eex')
-rw-r--r--lib/pleroma/web/templates/twitter_api/password/reset.html.eex13
1 files changed, 13 insertions, 0 deletions
diff --git a/lib/pleroma/web/templates/twitter_api/password/reset.html.eex b/lib/pleroma/web/templates/twitter_api/password/reset.html.eex
new file mode 100644
index 0000000..6a544af
--- /dev/null
+++ b/lib/pleroma/web/templates/twitter_api/password/reset.html.eex
@@ -0,0 +1,13 @@
+<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 %>