class-website/templates/login.html

24 lines
821 B
HTML

{% extends "base.html" %}
{% block title %}Login System{% endblock %}
{% block content %}
{% if message %}
<div class="alert alert-secondary" role="alert">
<p>{{ message }}</p>
</div>
{% endif %}
<form action="" method="post">
<div class="form-group">
<label for="InputEmail">Email address</label>
<input name="email" class="form-control" id="InputEmail" placeholder="Enter email">
<small id="emailHelp" class="form-text text-muted">We'll never share your email with anyone else.</small>
</div>
<div class="form-group">
<label for="InputPassword">Password</label>
<input type="password" name="password" class="form-control" id="InputPassword" placeholder="Password">
</div>
<button type="submit" class="btn btn-primary">Submit</button>
</form>
{% endblock %}