mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-08-01 07:26:34 +02:00
initial draft (need to fix DOM targeting)
This commit is contained in:
parent
92c66b7eca
commit
4bcb5bfd50
5 changed files with 52 additions and 5 deletions
|
@ -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)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue