diff --git a/app/templates/group_list_nested.html b/app/templates/group_list.html similarity index 100% rename from app/templates/group_list_nested.html rename to app/templates/group_list.html diff --git a/app/templates/user_list_inline_edit.html b/app/templates/user_list.html similarity index 100% rename from app/templates/user_list_inline_edit.html rename to app/templates/user_list.html diff --git a/app/views/__pycache__/group_views.cpython-39.pyc b/app/views/__pycache__/group_views.cpython-39.pyc index c15c7e7..0e8d255 100644 Binary files a/app/views/__pycache__/group_views.cpython-39.pyc and b/app/views/__pycache__/group_views.cpython-39.pyc differ diff --git a/app/views/__pycache__/index_views.cpython-39.pyc b/app/views/__pycache__/index_views.cpython-39.pyc index 0ca0b69..8b2c79d 100644 Binary files a/app/views/__pycache__/index_views.cpython-39.pyc and b/app/views/__pycache__/index_views.cpython-39.pyc differ diff --git a/app/views/__pycache__/user_views.cpython-39.pyc b/app/views/__pycache__/user_views.cpython-39.pyc index 27de276..7dfee75 100644 Binary files a/app/views/__pycache__/user_views.cpython-39.pyc and b/app/views/__pycache__/user_views.cpython-39.pyc differ diff --git a/app/views/group_views.py b/app/views/group_views.py index 19b67c5..db016d3 100644 --- a/app/views/group_views.py +++ b/app/views/group_views.py @@ -24,13 +24,13 @@ def groups(): cursor.close() db.close() - return render_template('group_list_nested.html', grouped_results=grouped_results) + return render_template('group_list.html', grouped_results=grouped_results) except mysql.connector.Error as err: print(f"Database Error: {err}") cursor.close() db.close() - return render_template('group_list_nested.html', grouped_results={}) + return render_template('group_list.html', grouped_results={}) return "Database Connection Failed" @group.route('/save_group', methods=['POST']) diff --git a/app/views/user_views.py b/app/views/user_views.py index 14590f8..5a31e93 100644 --- a/app/views/user_views.py +++ b/app/views/user_views.py @@ -32,7 +32,7 @@ def user_list(): cursor.close() db.close() - return render_template('user_list_inline_edit.html', results=results, groups=groups) + return render_template('user_list.html', results=results, groups=groups) except mysql.connector.Error as e: print(f"Database error: {e}")