mirror of
https://github.com/partitioncloud/partitioncloud-server.git
synced 2025-03-13 06:35:20 +01:00
22 lines
873 B
HTML
22 lines
873 B
HTML
{% extends 'base.html' %}
|
|
|
|
|
|
{% block content %}
|
|
<h2>{% block title %}{{ _("Create account") }}{% endblock %}</h2>
|
|
|
|
<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/>
|
|
<select name="album_uuid" id="album_uuid" form="add-user-form" style="margin-bottom:15px;">
|
|
<option value="">{{ _("None") }}</option>
|
|
{% 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') }}">
|
|
</form>
|
|
{% endblock %} |