Spaces:
Runtime error
Runtime error
Create signup.html
Browse files- templates/signup.html +17 -0
templates/signup.html
ADDED
|
@@ -0,0 +1,17 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{% extends 'base.html' %}
|
| 2 |
+
{% block content %}
|
| 3 |
+
<div class="container">
|
| 4 |
+
<h1>Sign Up</h1>
|
| 5 |
+
<form method="POST" action="/signup">
|
| 6 |
+
<input type="text" name="name" placeholder="Full Name" required>
|
| 7 |
+
<input type="email" name="email" placeholder="Email" required>
|
| 8 |
+
<input type="text" name="phone" placeholder="Phone Number" required>
|
| 9 |
+
<input type="password" name="password" placeholder="Password" required>
|
| 10 |
+
<button type="submit">Sign Up</button>
|
| 11 |
+
</form>
|
| 12 |
+
<p>Already have an account? <a href="/">Log in</a></p>
|
| 13 |
+
{% if error %}
|
| 14 |
+
<p class="error">{{ error }}</p>
|
| 15 |
+
{% endif %}
|
| 16 |
+
</div>
|
| 17 |
+
{% endblock %}
|