day of hard work with xkirsch #2
This commit is contained in:
@@ -4,6 +4,7 @@
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>Vytvořit Nového Uživatele</title>
|
||||
<link rel="icon" href="{{url_for('static', filename='img/logo.webp')}}" type="image/x-icon">
|
||||
<link rel="stylesheet" href="{{url_for('static', filename='css/style.css')}}">
|
||||
<script src="{{url_for('static', filename='scripts/create_user.js')}}"></script>
|
||||
</head>
|
||||
@@ -42,7 +43,11 @@
|
||||
<input type="email" id="email" name="email" required>
|
||||
|
||||
<label for="role">Role:</label>
|
||||
<input type="text" id="role" name="role" required>
|
||||
<select id="role" name="role" required>
|
||||
{% for role in roles %}
|
||||
<option value="{{ role['Role_ID'] }}">{{ role['Nazev'] }}</option>
|
||||
{% endfor %}
|
||||
</select>
|
||||
|
||||
<label for="username">Username:</label>
|
||||
<input type="text" id="username" name="username" required>
|
||||
|
||||
Reference in New Issue
Block a user