From 3d0181df9f2c78a87db86e018825cffaf8ce27c4 Mon Sep 17 00:00:00 2001 From: Bryce Willey Date: Fri, 15 Dec 2023 15:45:03 -0500 Subject: [PATCH] Add default revisit and table blocks for ALPeople They likely can and should be edited for each interview, but it's easier for authors to start from an exisitng block (especially if it prevents them from seeing an error on the review screen). --- .../data/questions/ql_baseline.yml | 43 +++++++++++++++++++ 1 file changed, 43 insertions(+) diff --git a/docassemble/AssemblyLine/data/questions/ql_baseline.yml b/docassemble/AssemblyLine/data/questions/ql_baseline.yml index c49e3cf7..1de7dd7b 100644 --- a/docassemble/AssemblyLine/data/questions/ql_baseline.yml +++ b/docassemble/AssemblyLine/data/questions/ql_baseline.yml @@ -902,6 +902,49 @@ fields: - code: | x[i].name_fields() --- +id: people list revisit +generic object: ALPeopleList +question: | + Edit your answers about the ${noun_plural(x.object_name())}? +subquestion: | + ${ x.table } + + ${ x.add_action() } +continue button field: x.revisit +--- +id: users revisit +question: | + Edit your answers about people on your side of the case +subquestion: | + ${ users.table } + + ${ users.add_action() } +continue button field: users.revisit +--- +id: other parties revisit +question: | + Edit your answers about people on the other side of your case +subquesiton: | + ${ other_parties.table } + + ${ other_parties.add_action() } +continue button field: other_parties.revisit +--- +generic object: ALPeopleList +table: x.table +rows: x +columns: + - Name: | + row_item.name if defined('row_item.name.first') else '' + - Address: | + row_item.address if defined('row_item.address.address') else '' + - Phone number: | + row_item.phone_number if defined('row_item.phone_number') else '' +edit: + - name.first + - address.address + - phone_number +--- id: any other opposing parties question: | % if user_started_case: