diff options
author | Mark Powers <markppowers0@gmail.com> | 2020-10-20 13:12:43 -0500 |
---|---|---|
committer | Mark Powers <markppowers0@gmail.com> | 2020-10-20 13:12:43 -0500 |
commit | 9ea4b4d3287d0253deb45a4404702009e38ace5c (patch) | |
tree | c6d24e3e94ae3e1548069410462df59ebbf64c70 /src/templates | |
parent | 20deceae4de9779b3bfafa9c8b8811c403bfbc6e (diff) |
Add me, login, sign up messages
Diffstat (limited to 'src/templates')
-rw-r--r-- | src/templates/login.html | 2 | ||||
-rw-r--r-- | src/templates/me.html | 1 | ||||
-rw-r--r-- | src/templates/sign-up.html | 2 |
3 files changed, 4 insertions, 1 deletions
diff --git a/src/templates/login.html b/src/templates/login.html index a8cc98c..8557b72 100644 --- a/src/templates/login.html +++ b/src/templates/login.html @@ -11,12 +11,14 @@ <body> <div> <h1>Login</h1> + {{> message}} <form method="post" action="/login"> <input name="username" type="text" placeholder="Enter Username" required> <input type="password" placeholder="Enter Password" name="password" required> <input type="submit" value="Log in"> </div> </div> + <a href="/login/signup">or sign up</a> </body> </html>
\ No newline at end of file diff --git a/src/templates/me.html b/src/templates/me.html index 77b5ed4..4b96661 100644 --- a/src/templates/me.html +++ b/src/templates/me.html @@ -11,7 +11,6 @@ <body> <div class="main"> <h1>{{name}}</h1> - {{message}} <h2>Reset Password</h2> <form method="post" action="/password"> diff --git a/src/templates/sign-up.html b/src/templates/sign-up.html index 81789bf..3f19ed3 100644 --- a/src/templates/sign-up.html +++ b/src/templates/sign-up.html @@ -11,6 +11,7 @@ <body> <div> <h1>Sign up!</h1> + {{>message}} <form method="post" action="/login/signup"> <input name="username" type="text" placeholder="Enter Username" required> <input type="password" placeholder="Enter Password" name="password" required> @@ -18,6 +19,7 @@ <input type="submit" vallue="Log in"> </div> </div> + <a href="/login">or login</a> </body> </html>
\ No newline at end of file |