summaryrefslogtreecommitdiff
path: root/templates/signup.html
diff options
context:
space:
mode:
authorAnson Bridges <bridges.anson@gmail.com>2025-08-11 22:24:05 -0700
committerAnson Bridges <bridges.anson@gmail.com>2025-08-11 22:24:05 -0700
commit02284958a1189ffcb10b34a4c3a02417f8136a4d (patch)
tree837aac77184a3435ee686dd33878b9f2715c94b1 /templates/signup.html
Initialize git repo from local project filesHEADmaster
Diffstat (limited to 'templates/signup.html')
-rw-r--r--templates/signup.html48
1 files changed, 48 insertions, 0 deletions
diff --git a/templates/signup.html b/templates/signup.html
new file mode 100644
index 0000000..dffeb62
--- /dev/null
+++ b/templates/signup.html
@@ -0,0 +1,48 @@
+<!DOCTYPE html>
+<html>
+ <head>
+ <meta charset="utf-8">
+ <title>Create Account</title>
+ </head>
+ <body>
+ <div>
+ <h3 class="title">Create an account</h3>
+ <div class="box">
+ {% with messages = get_flashed_messages() %}
+ {% if messages %}
+ <div class="notification is-danger">
+ {{ messages[0] }}. Go to <a href="{{ url_for('auth.login') }}">login page</a>.
+ </div>
+ {% endif %}
+ {% endwith %}
+ <form method="POST" action="/signup">
+ <div class="field">
+ <div class="control">
+ <input class="input is-large" type="email" name="email" placeholder="Email" autofocus="">
+ </div>
+ </div>
+
+ <div class="field">
+ <div class="control">
+ <input class="input is-large" type="text" name="name" placeholder="Name" autofocus="">
+ </div>
+ </div>
+
+ <div class="field">
+ <div class="control">
+ <input class="input is-large" type="password" name="password" placeholder="Password">
+ </div>
+ </div>
+
+ <div class="field">
+ <div class="control">
+ <input class="input is-large" type="file" name="profile_picture" accept=".jpg,.jpeg,.png">
+ </div>
+ </div>
+
+ <button class="button is-block is-info is-large is-fullwidth">Sign Up</button>
+ </form>
+ </div>
+ </div>
+ </body>
+</html> \ No newline at end of file