21 lines
823 B
HTML
Raw Normal View History

2022-08-13 23:36:10 +02:00
{% extends 'base.html' %}
2023-06-22 16:22:52 +02:00
{% block title %}Créer un compte{% endblock %}
2022-08-13 23:36:10 +02:00
{% block content %}
2023-06-22 16:22:52 +02:00
<form method="post" id="add-user-form">
{% if g.user.access_level == 1 %}
<!-- Uniquement pour /add-user -->
<label for="album_uuid">Ajouter à un album: </label><br/>
<select name="album_uuid" id="album_uuid" form="add-user-form" style="margin-bottom:15px;">
<option value="">Aucun</option>
{% for album in albums %}
<option value="{{ album['uuid'] }}">{{ album["name"] }}</option>
{% endfor %}
</select><br/>
{% endif %}
<input type="text" name="username" id="username" placeholder="Nom d'utilisateur" required><br/>
<input type="password" name="password" id="password" placeholder="Mot de passe" required><br/>
<input type="submit" value="Créer un compte">
</form>
2022-08-13 23:36:10 +02:00
{% endblock %}