added user management system
This commit is contained in:
parent
0b31a83f83
commit
8e855e0748
16 changed files with 446 additions and 3 deletions
25
invsystem/user_manager/templates/registration/register.html
Normal file
25
invsystem/user_manager/templates/registration/register.html
Normal file
|
|
@ -0,0 +1,25 @@
|
|||
{% extends 'bases/navbar.html' %}
|
||||
{% load static %}
|
||||
|
||||
|
||||
{% block content %}
|
||||
<html>
|
||||
|
||||
<div class="container">
|
||||
<h1>registration page</h1>
|
||||
<form method="post" action="{% url 'register' %}">
|
||||
{% csrf_token %}
|
||||
|
||||
{% if form.errors %}
|
||||
<p>There are errors in the form</p>
|
||||
{% endif %}
|
||||
|
||||
{{ form }}
|
||||
<input type="submit" value="Register">
|
||||
</form>
|
||||
<div>
|
||||
|
||||
</body>
|
||||
|
||||
</html>
|
||||
{% endblock %}
|
||||
Loading…
Add table
Add a link
Reference in a new issue