Skip to content

Commit

Permalink
fixed tenant attorney in review blocks
Browse files Browse the repository at this point in the history
  • Loading branch information
tobyfey committed Aug 1, 2024
1 parent 82ee1a8 commit 33bf365
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 13 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -781,6 +781,10 @@ review:
% else:
**None**
% endif
- Edit:
- users[0].attorney[0].name.first
button: |
Tenant's attorney: **${ users[0].attorney[0].name }**
- note: |
##Information about the other party##
- Edit:
Expand Down
17 changes: 4 additions & 13 deletions docassemble/MOHUDEvictionProject/data/questions/review.yml
Original file line number Diff line number Diff line change
Expand Up @@ -395,6 +395,10 @@ review:
% else:
**None**
% endif
- Edit:
- users[0].attorney[0].name.first
button: |
Tenant's attorney: **${ users[0].attorney[0].name }**
- Edit:
- will_offer_payment
- recompute:
Expand All @@ -406,19 +410,6 @@ review:
The tenant is able to pay rent and {court costs}:
% endif
**${ "Maybe" if will_offer_payment is None else yesno(will_offer_payment) }**
- note: |
% if person_answering == "attorney":
##About the Tenant's attorney##
% endif
show if: person_answering == "attorney"
- Edit:
- users[0].attorney[0].name.first
button: |
Tenant's attorney:
% if person_answering == "attorney":
- **${ users[0].attorney[0].name }**
% endif
- raw html: |
${ next_accordion("Information about your landlord", showing=False) }
- Edit:
Expand Down

0 comments on commit 33bf365

Please sign in to comment.