initial draft (need to fix DOM targeting)

This commit is contained in:
CocoByte 2025-02-26 13:45:40 -07:00
parent 92c66b7eca
commit 4bcb5bfd50
No known key found for this signature in database
GPG key ID: BBFAA2526384C97F
5 changed files with 52 additions and 5 deletions

View file

@ -283,6 +283,11 @@ class DomainRequestAdminForm(forms.ModelForm):
admin.site,
attrs={"data-placeholder": "---------", "ajax-url": "get-suborganization-list-json"},
),
# 'investigator': forms.Select(
# attrs={
# 'aria-describedby': 'id_investigator-arialabel'}),
# 'senior_official': forms.Select(
# attrs={'aria-describedby': 'id_senior_official-arialabel'}),
}
labels = {
"action_needed_reason_email": "Email",
@ -2622,11 +2627,9 @@ class DomainRequestAdmin(ListHeaderAdmin, ImportExportModelAdmin):
# Table ordering
# NOTE: This impacts the select2 dropdowns (combobox)
# Currentl, there's only one for requests on DomainInfo
# Currently, there's only one for requests on DomainInfo
ordering = ["-last_submitted_date", "requested_domain__name"]
change_form_template = "django/admin/domain_request_change_form.html"
def get_fieldsets(self, request, obj=None):
fieldsets = super().get_fieldsets(request, obj)