summaryrefslogtreecommitdiff
path: root/dist/radiotoot/_internal/templates/register.html
diff options
context:
space:
mode:
authordoc <doc@filenotfound.org>2025-06-28 21:03:28 +0000
committerdoc <doc@filenotfound.org>2025-06-28 21:03:28 +0000
commit86ee174c9d81c0ed5672113fcd8e76cf30c671ec (patch)
tree78336d6aee604dad9d385b275fff7016699bd33b /dist/radiotoot/_internal/templates/register.html
inital commitHEADmaster
Diffstat (limited to 'dist/radiotoot/_internal/templates/register.html')
-rw-r--r--dist/radiotoot/_internal/templates/register.html42
1 files changed, 42 insertions, 0 deletions
diff --git a/dist/radiotoot/_internal/templates/register.html b/dist/radiotoot/_internal/templates/register.html
new file mode 100644
index 0000000..ddf950f
--- /dev/null
+++ b/dist/radiotoot/_internal/templates/register.html
@@ -0,0 +1,42 @@
+<!doctype html>
+<html>
+<head>
+ <title>Register</title>
+</head>
+<body>
+ <h1>Register</h1>
+ <form method="POST" action="{{ url_for('register') }}">
+ {{ form.hidden_tag() }}
+ <p>
+ {{ form.username.label }}<br>
+ {{ form.username(size=32) }}<br>
+ {% for error in form.username.errors %}
+ <span style="color: red;">[{{ error }}]</span>
+ {% endfor %}
+ </p>
+ <p>
+ {{ form.email.label }}<br>
+ {{ form.email(size=32) }}<br>
+ {% for error in form.email.errors %}
+ <span style="color: red;">[{{ error }}]</span>
+ {% endfor %}
+ </p>
+ <p>
+ {{ form.password.label }}<br>
+ {{ form.password(size=32) }}<br>
+ {% for error in form.password.errors %}
+ <span style="color: red;">[{{ error }}]</span>
+ {% endfor %}
+ </p>
+ <p>
+ {{ form.password2.label }}<br>
+ {{ form.password2(size=32) }}<br>
+ {% for error in form.password2.errors %}
+ <span style="color: red;">[{{ error }}]</span>
+ {% endfor %}
+ </p>
+ <p>{{ form.submit() }}</p>
+ </form>
+ <a href="{{ url_for('login') }}">Login</a>
+</body>
+</html>