HTMLify

login.html
Views: 150 | Author: abh
<!DOCTYPE html>
<html>
<head>
    <title>Login</title>
   	{% include "stylesheet.html" %}
    <style>

    </style>
</head>
<body>
	<h1>HTMLify</h1>
	{% include "search-bar.html" %}
	{% include "nav-bar.html" %}
	
	
	
    <div class="login-form">
        <h1>Login</h1>
        {% if error %}
        <div class="error-msg">
        	{{ error }}
        </div>
        {% endif %}
        <form action="/action/login" method="POST">
            <input type="text" name="username" placeholder="Username" required /><br>
            <input type="password" name="password" placeholder="Password" required /><br>
            <input type="hidden" name="token" value="{{ token }}">
            <input type="submit" value="Login" />
        </form>
    </div>
</body>
</html>

Comments