22 lines
873 B
HTML
Raw Normal View History

2022-08-13 23:36:10 +02:00
{% extends 'base.html' %}
{% block content %}
<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 -->
<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;">
<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 %}
<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 %}