simar007's picture
Update templates/login.html
e25d0d0 verified
raw
history blame contribute delete
673 Bytes
{% extends "base.html" %}
{% block content %}
<div class="container">
<h2>Sign In</h2>
<form method="POST" action="{{ url_for('login') }}">
<input type="text" name="username" placeholder="Username" required />
<input type="password" name="password" placeholder="Password" required />
<button type="submit">Login</button>
</form>
<p id="loginMessage"></p>
<p class="switch-page">
Don't have an account? <a href="{{ url_for('signup') }}">Sign up here</a>
</p>
</div>
<!-- <section aria-labelledby="predict-title">
{% if prediction %}
<div class="prediction-box">
Login successful!
</div>
{% endif %}
</section>
{% endblock %} -->