{% comment %} Enhanced Authentication Modal Component Matches React frontend AuthDialog functionality with modal-based auth {% endcomment %} {% load static %} {% load i18n %} {% load account socialaccount %} {# This modal no longer manages form submission client-side. Forms are fetched and submitted via HTMX using the account views endpoints (CustomLoginView/CustomSignupView). #} {# Example triggers (elsewhere in the app you can use hx-get to load the desired form into #auth-modal-body): The login/signup views already return partials for HTMX requests (see `CustomLoginView` / `CustomSignupView`). #}