diff options
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 |