21 lines
572 B
HTML
21 lines
572 B
HTML
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<title>Add Group</title>
|
|
</head>
|
|
<body>
|
|
<h1>Add Group</h1>
|
|
<form method="POST">
|
|
<label>Group Name:</label>
|
|
<input type="text" name="group_name" required><br>
|
|
<label>Select Players:</label><br>
|
|
{% for player in players %}
|
|
<input type="checkbox" name="players" value="{{ player.id }}">
|
|
{{ player.username }}<br>
|
|
{% endfor %}
|
|
<button type="submit">Create Group</button>
|
|
</form>
|
|
<a href="{{ url_for('dashboard') }}">Back to Dashboard</a>
|
|
</body>
|
|
</html>
|