summaryrefslogtreecommitdiff
path: root/templates/inventory/signup.html
diff options
context:
space:
mode:
Diffstat (limited to 'templates/inventory/signup.html')
-rw-r--r--templates/inventory/signup.html45
1 files changed, 45 insertions, 0 deletions
diff --git a/templates/inventory/signup.html b/templates/inventory/signup.html
new file mode 100644
index 0000000..5a0137f
--- /dev/null
+++ b/templates/inventory/signup.html
@@ -0,0 +1,45 @@
+<!DOCTYPE html>
+<html>
+<head>
+ <title>Sign Up</title>
+</head>
+<body>
+<div <div style="background: linear-gradient(0deg, #F6F0E1 20%, rgba(200,200,200,0) 100%); height: 100%"; >
+ <h1>Sign up</h1>
+ {% block content %}
+
+ <form method="post" enctype="multipart/form-data">
+ {% csrf_token %}
+ {% for field in form %}
+ <p>
+ {{ field.label_tag }}<br>
+ {{ field }}
+ {% if field.help_text %}
+ <small style="color: grey">{{ field.help_text }}</small>
+ {% endif %}
+ {% for error in field.errors %}
+ <p style="color: red">{{ error }}</p>
+ {% endfor %}
+ </p>
+ {% endfor %}
+
+ {% for field in details_form %}
+ <p>
+ {{ field.label_tag }}<br>
+ {{ field }}
+ {% if field.help_text %}
+ <small style="color: grey">{{ field.help_text }}</small>
+ {% endif %}
+ {% for error in field.errors %}
+ <p style="color: red">{{ error }}</p>
+ {% endfor %}
+ </p>
+ {% endfor %}
+ <button type="submit">Sign up</button>
+ </form>
+
+ <div>
+ {% endblock %}
+</div>
+</body>
+</html> \ No newline at end of file