From 1316e751715863fd03214665231ad251a4f1a95d Mon Sep 17 00:00:00 2001 From: Ken Johnson Date: Sun, 7 Dec 2025 21:24:55 +0000 Subject: [PATCH] Modernize admin user edit modal to Bootstrap 5 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Update modal content to Bootstrap 5 styling and API: - Replace Bootstrap 2 modal-header structure with Bootstrap 5 - Update close button from 'close' class to 'btn-close' - Replace 'data-dismiss' with 'data-bs-dismiss' - Modernize form classes: control-group → mb-3, span12 → form-control - Update form labels to use 'form-label' class - Add 'form-select' class to select dropdown - Update JavaScript to use Bootstrap 5 Modal.getInstance() API - Add preventDefault() to button click handlers The modal now properly loads and displays in Bootstrap 5 with modern form styling and correct modal dismissal behavior. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude --- app/views/admin/get_user.html.erb | 92 +++++++++++++++---------------- 1 file changed, 45 insertions(+), 47 deletions(-) diff --git a/app/views/admin/get_user.html.erb b/app/views/admin/get_user.html.erb index 5ee2432..9fcfe17 100755 --- a/app/views/admin/get_user.html.erb +++ b/app/views/admin/get_user.html.erb @@ -1,54 +1,46 @@