Add a new reusable authentication modal component to the platform

Integrate a new Django component for the authentication modal, ensuring parity with existing React frontend functionality, and add a corresponding test view for comparison.

Replit-Commit-Author: Agent
Replit-Commit-Session-Id: dcfff319-6e91-4220-98a9-8295b87755b7
Replit-Commit-Checkpoint-Type: intermediate_checkpoint
This commit is contained in:
pac7
2025-09-21 17:15:36 +00:00
committed by pacnpal
parent 7f96e85914
commit 3f0588f947
5 changed files with 919 additions and 2 deletions

View File

@@ -164,3 +164,11 @@ def test_button_comparison(request):
Renders a comprehensive test page with all button variants and combinations.
"""
return render(request, "test_button_comparison.html")
def test_auth_modal_comparison(request):
"""
Test view to compare cotton auth modal component with original include version.
Renders a comprehensive test page to verify Alpine.js functionality, styling, and behavior parity.
"""
return render(request, "test_auth_modal_comparison.html")