getting there

This commit is contained in:
2025-04-06 14:39:32 -04:00
parent af7e24a948
commit 2e511ca428
7 changed files with 387 additions and 176 deletions

View File

@@ -7,8 +7,8 @@ user = Blueprint('user', __name__, url_prefix='/user')
@user.route('/')
def user_list():
users = get_all_users()
groups = get_all_groups()
return render_template('user_list.html', users=users, groups=groups)
available_groups = get_all_groups()
return render_template('user_list.html', users=users, available_groups=available_groups)
@user.route('/add', methods=['POST'])