Archived
1
0
Fork 0
This repository has been archived on 2024-02-17. You can view files and clone it, but cannot push or open issues or pull requests.
SOD/views/forget.pug

21 lines
717 B
Text
Raw Normal View History

2020-08-25 16:46:02 +02:00
extends layout
block content
div.card
h1=__("forgetPassword")
if (!token)
form(action="/forget" method="POST")
div.field
label(for="email")=__("email")
input#email(type="email" name="email" required)
div.field
+submit(value=__("send"))
else
form(action="/forget" method="POST")
input(type="hidden" name="token" value=token)
div.field
label(for="password")=__("password")
input#password(type="password" name="password" required)
div.field
+submit(value=__("send"))