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

27 lines
1 KiB
Text
Raw Permalink Normal View History

2020-08-25 16:46:02 +02:00
extends layout
block content
2020-09-27 20:58:21 +02:00
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"))