Skip to content

Commit

Permalink
Add default revisit and table blocks for ALPeople
Browse files Browse the repository at this point in the history
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).
  • Loading branch information
BryceStevenWilley committed Dec 16, 2023
1 parent 7726cbe commit 3d0181d
Showing 1 changed file with 43 additions and 0 deletions.
43 changes: 43 additions & 0 deletions docassemble/AssemblyLine/data/questions/ql_baseline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 3d0181d

Please sign in to comment.