Skip to content

Commit

Permalink
Add ability to edit lists on review screen in demo
Browse files Browse the repository at this point in the history
  • Loading branch information
BryceStevenWilley committed Dec 14, 2023
1 parent 53cf06a commit 1f982d2
Showing 1 changed file with 28 additions and 1 deletion.
29 changes: 28 additions & 1 deletion docassemble/ALToolbox/data/questions/al_income_demo.yml
Original file line number Diff line number Diff line change
Expand Up @@ -164,6 +164,7 @@ question: |
buttons:
- Restart: restart
subquestion: |
[Edit your answers](${ url_action('review_interview') })
% if to_run['ALItemizedJob']:
## Single ALItemizedJob: ${ itemized_job.source }
Expand Down Expand Up @@ -388,6 +389,32 @@ subquestion: |
% endif
---
id: review screen
event: review_interview
question: Review
review:
- Edit: itemized_job_list.revisit
button: |
${ itemized_job_list }
- Edit: al_income_list.revisit
button: |
${ al_income_list }
- Edit: al_job_list.revisit
button: |
${ al_job_list }
- Edit: al_asset_list.revisit
button: |
${ al_asset_list }
- Edit: al_vehicle_list.revisit
button: |
${ al_vehicle_list }
- Edit: al_value_list.revisit
button: |
${ al_value_list }
- Edit: al_expense_list.revisit
button: |
${ al_expense_list }
---
# OUTPUT TEMPLATES
---
generic object: ALItemizedJob
Expand Down Expand Up @@ -503,4 +530,4 @@ content: |
% for exp in x:
${ exp.source } | As string | ${ exp }
${ exp.source } | Total cost | ${ currency(exp.total()) }
% endfor
% endfor

0 comments on commit 1f982d2

Please sign in to comment.