Improved login funtion by creating temporary HTML pages and fixing bugs in login
This commit is contained in:
19
ui/templates/login.html
Normal file
19
ui/templates/login.html
Normal file
@@ -0,0 +1,19 @@
|
||||
{% extends "base.html" %}
|
||||
|
||||
{% block main_content %}
|
||||
<form action="" method="post" novalidate>
|
||||
{{ form.hidden_tag() }}
|
||||
{{ form.username.label }}
|
||||
{{ form.username() }}
|
||||
{% for error in form.username.errors %}
|
||||
{{ error }}
|
||||
{% endfor %}
|
||||
<br />
|
||||
{{ form.password.label }}
|
||||
{{ form.password() }}
|
||||
<br />
|
||||
{{ form.submit() }}
|
||||
</form>
|
||||
|
||||
{% endblock %}
|
||||
|
||||
Reference in New Issue
Block a user