mirror of
https://github.com/partitioncloud/partitioncloud-server.git
synced 2025-03-14 06:55:21 +01:00
22 lines
899 B
HTML
22 lines
899 B
HTML
{% extends 'base.html' %}
|
|
|
|
|
|
{% block content %}
|
|
<h2>{% block title %}{{ _("Créer un compte") }}{% endblock %}</h2>
|
|
|
|
<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>
|
|
{% endblock %} |