Skip to content

Commit

Permalink
add click-to-copy and full-contents widgets to continuation and conti…
Browse files Browse the repository at this point in the history
…nued_by fields
  • Loading branch information
amdomanska committed Nov 20, 2023
1 parent 058d174 commit 5e6e583
Showing 1 changed file with 40 additions and 0 deletions.
40 changes: 40 additions & 0 deletions portality/forms/application_forms.py
Original file line number Diff line number Diff line change
Expand Up @@ -1792,6 +1792,26 @@ class FieldDefinitions:
],
"help" : {
"render_error_box": False
},
"contexts": {
"admin": {
"widgets": [
"click_to_copy", # ~~^-> ClickToCopy:FormWidget~~
"full_contents" # ~~^->FullContents:FormWidget~~
]
},
"editor": {
"widgets": [
"click_to_copy", # ~~^-> ClickToCopy:FormWidget~~
"full_contents" # ~~^->FullContents:FormWidget~~
]
},
"associate_editor": {
"widgets": [
"click_to_copy", # ~~^-> ClickToCopy:FormWidget~~
"full_contents" # ~~^->FullContents:FormWidget~~
]
}
}
}

Expand All @@ -1815,6 +1835,26 @@ class FieldDefinitions:
],
"help" : {
"render_error_box": False
},
"contexts": {
"admin": {
"widgets": [
"click_to_copy", # ~~^-> ClickToCopy:FormWidget~~
"full_contents" # ~~^->FullContents:FormWidget~~
]
},
"editor": {
"widgets": [
"click_to_copy", # ~~^-> ClickToCopy:FormWidget~~
"full_contents" # ~~^->FullContents:FormWidget~~
]
},
"associate_editor": {
"widgets": [
"click_to_copy", # ~~^-> ClickToCopy:FormWidget~~
"full_contents" # ~~^->FullContents:FormWidget~~
]
}
}
}

Expand Down

0 comments on commit 5e6e583

Please sign in to comment.