summaryrefslogtreecommitdiff
path: root/views
diff options
context:
space:
mode:
authorJannick <[email protected]>2024-04-30 14:54:22 +0200
committerJannick <[email protected]>2024-04-30 14:54:22 +0200
commit46ed2f9e09d0425a6cb0cb29fd300006fd96adc3 (patch)
tree64293c3fa6f77ed5535a8be00ef1a48cbc5036f2 /views
parent22b0b52f8f98a68b08111802c4edcb30b692bcb0 (diff)
Fetches all characters and added dropdown menu
The login shit now works, and we successfully fetch all the users characters. There is also a dropdown menu on the join page, featuring all chars.
Diffstat (limited to 'views')
-rw-r--r--views/join_form.html6
1 files changed, 5 insertions, 1 deletions
diff --git a/views/join_form.html b/views/join_form.html
index 440c993..c5b9352 100644
--- a/views/join_form.html
+++ b/views/join_form.html
@@ -27,7 +27,11 @@
If your application is accepted, we will accept your in-game guild application.
Please make sure you have supmitted such an application in the game's UI.
</p>
- <input class="signup__input" type="text" id="name" name="name" required placeholder="PoopenFarten43" minlength="2" maxlength="12">
+ <select class="signup__input" id="name" name="name" required>
+ {% for character in characters %}
+ <option value="{{ character['id'] | e }}">{{ character['name'] | e }}</option>
+ {% endfor %}
+ </select>
</div>
<div class="signup__box">
<label class="signup__label" for="preferredRole">Preferred role</label>