Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion efile_app/efile/forms.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
from django import forms
from django.contrib.auth.models import User
from django.contrib.auth import get_user_model

User = get_user_model()


class EFileLoginForm(forms.Form):
Expand Down
1 change: 1 addition & 0 deletions efile_app/efile/templates/efile/login.html
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
<link rel="stylesheet" href="{% static 'css/login.css' %}" />
</head>
<body>
<div id="currentJurisdiction" hidden>{{jurisdiction}}</div>
<div class="main-container">
<!-- Main Login Card -->
<div class="login-card">
Expand Down
4 changes: 3 additions & 1 deletion efile_app/efile/templates/efile/register.html
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
</style>
</head>
<body>
<div id="currentJurisdiction" hidden>{{jurisdiction}}</div>
<div class="main-container">
<div class="register-card">
<!-- Brand Header -->
Expand Down Expand Up @@ -198,6 +199,7 @@ <h2 class="page-title">Register to eFile</h2>
</div>

<script src="https://cdnjs.cloudflare.com/ajax/libs/bootstrap/5.3.0/js/bootstrap.bundle.min.js"></script>
<script src="{% static 'js/api-utils.js' %}"></script>
<script>
document
.getElementById("password")
Expand Down Expand Up @@ -247,7 +249,7 @@ <h2 class="page-title">Register to eFile</h2>
}
}
function goBack() {
window.location.href = `jurisdiction/${apiUtils.getCurrentJurisdiction()}/login/`;
window.location.href = `/jurisdiction/${apiUtils.getCurrentJurisdiction()}/login/`;
}
// Event listeners
document
Expand Down