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

26 lines
1 KiB
Text

extends layout
block content
div.container
div.row
h3=__("forgetPassword")
if (!token)
form(action="/forget" method="POST")
div.row
div.input-field.col.s12
input#email(type="email" name="email" required)
label(for="email")=__("email")
div.row
div.input-field.col.s12
+submit(__("send"))
else
form(action="/forget" method="POST")
div.row
input(type="hidden" name="token" value=token)
div.row
div.input-field.col.s12
input#password(type="password" name="password" required)
label(for="password")=__("password")
div.row
div.input-field.col.s12
+submit(__("send"))