2022-08-13 23:36:10 +02:00
|
|
|
{% extends 'base.html' %}
|
|
|
|
|
|
|
|
|
|
|
|
{% block content %}
|
2024-01-26 09:48:11 +01:00
|
|
|
<h2>{% block title %}{{ _("Create account") }}{% endblock %}</h2>
|
2023-06-24 15:37:43 +02:00
|
|
|
|
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 -->
|
2024-01-26 09:48:11 +01:00
|
|
|
<label for="album_uuid">{{ _("Add to album:") }}</label><br/>
|
2023-06-22 16:22:52 +02:00
|
|
|
<select name="album_uuid" id="album_uuid" form="add-user-form" style="margin-bottom:15px;">
|
2024-01-26 09:48:11 +01:00
|
|
|
<option value="">{{ _("None") }}</option>
|
2023-06-22 16:22:52 +02:00
|
|
|
{% for album in albums %}
|
|
|
|
<option value="{{ album['uuid'] }}">{{ album["name"] }}</option>
|
|
|
|
{% endfor %}
|
|
|
|
</select><br/>
|
|
|
|
{% endif %}
|
2024-01-26 09:48:11 +01:00
|
|
|
<input type="text" name="username" id="username" placeholder="{{ _('Username') }}" required><br/>
|
|
|
|
<input type="password" name="password" id="password" placeholder="{{ _('Password') }}" required><br/>
|
|
|
|
<input type="submit" value="{{ _('Create account') }}">
|
2023-06-22 16:22:52 +02:00
|
|
|
</form>
|
2022-08-13 23:36:10 +02:00
|
|
|
{% endblock %}
|