Skip to content

Commit

Permalink
Merge branch 'hotfix/20231026_1320_issue3719'
Browse files Browse the repository at this point in the history
  • Loading branch information
Steven-Eardley committed Oct 26, 2023
2 parents c4dae91 + 8afc954 commit e3db96e
Showing 1 changed file with 16 additions and 7 deletions.
23 changes: 16 additions & 7 deletions portality/forms/application_forms.py
Original file line number Diff line number Diff line change
Expand Up @@ -558,28 +558,37 @@ class FieldDefinitions:
"a society or other type of institution, enter that here."],
"placeholder": "Type or select the society or institution’s name"
},
"contexts" : {
"widgets": [
"trim_whitespace", # ~~^-> TrimWhitespace:FormWidget~~
{"autocomplete": {"type" : "journal", "field": "bibjson.institution.name.exact"}}, # ~~^-> Autocomplete:FormWidget~~
"full_contents" # ~~^->FullContents:FormWidget~~
],
"contexts": {
"admin": {
"widgets": [
"trim_whitespace", # ~~^-> TrimWhitespace:FormWidget~~
{"autocomplete": {"type": "journal", "field": "bibjson.institution.name.exact"}},
# ~~^-> Autocomplete:FormWidget~~
"click_to_copy", # ~~^-> ClickToCopy:FormWidget~~
]
},
"associate_editor": {
"widgets": [
"trim_whitespace", # ~~^-> TrimWhitespace:FormWidget~~
{"autocomplete": {"type": "journal", "field": "bibjson.institution.name.exact"}},
# ~~^-> Autocomplete:FormWidget~~
"click_to_copy", # ~~^-> ClickToCopy:FormWidget~~
]
},
"editor": {
"widgets": [
"trim_whitespace", # ~~^-> TrimWhitespace:FormWidget~~
{"autocomplete": {"type": "journal", "field": "bibjson.institution.name.exact"}},
# ~~^-> Autocomplete:FormWidget~~
"click_to_copy", # ~~^-> ClickToCopy:FormWidget~~
]
}
},
"widgets": [
"trim_whitespace", # ~~^-> TrimWhitespace:FormWidget~~
{"autocomplete": {"type" : "journal", "field": "bibjson.institution.name.exact"}}, # ~~^-> Autocomplete:FormWidget~~
"full_contents" # ~~^->FullContents:FormWidget~~
]
}
}

# ~~->$ InstitutionCountry:FormField~~
Expand Down

0 comments on commit e3db96e

Please sign in to comment.