Skip to content

Commit

Permalink
Remove question help buttons; fix SuffolkLITLab/docassemble-AssemblyL…
Browse files Browse the repository at this point in the history
  • Loading branch information
nonprofittechy committed Oct 22, 2021
1 parent d2e776f commit e23cca0
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 18 deletions.
2 changes: 1 addition & 1 deletion docassemble/ALMassachusetts/__init__.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = '0.0.8'
__version__ = '0.1.0'
23 changes: 8 additions & 15 deletions docassemble/ALMassachusetts/data/questions/al_massachusetts.yml
Original file line number Diff line number Diff line change
Expand Up @@ -73,22 +73,21 @@ subquestion: |
Look at your court paperwork. Match the name listed
there.
% endif
${ collapse_template(how_to_pick_court_help_template) }
fields:
- no label: trial_court
datatype: object
object labeler: court_short_label
choices: all_courts.filter_courts(allowed_courts)
help:
label: |
How do I pick a court?
content: |
${ how_to_pick_court_help_template }
---
code: |
def court_short_label(court):
return court.short_label()
---
template: how_to_pick_court_help_template
subject: |
How do I pick a court?
content: |
For some cases, you can choose your court.
% if al_form_type == 'starts_case':
Expand Down Expand Up @@ -155,6 +154,8 @@ subquestion: |
${map_of(combined_locations(all_matches))}
% endif
${ collapse_template(how_to_pick_court_help_template) }
fields:
- no label: trial_court
datatype: object_radio
Expand All @@ -175,11 +176,6 @@ fields:
datatype: object
object labeler: court_short_label
choices: all_courts.filter_courts(allowed_courts)
help:
label: |
How do I pick a court?
content: |
${ how_to_pick_court_help_template }
---
code: |
def court_short_description(court):
Expand All @@ -200,6 +196,8 @@ subquestion: |
% if not al_form_type == 'starts_case':
Look at your court paperwork. Match the name listed there.
% endif
${ collapse_template(how_to_pick_court_help_template) }
fields:
- Court name: trial_court.name
help: |
Expand All @@ -225,11 +223,6 @@ fields:
required: False
- County: trial_court.address.county
required: False
help:
label: |
How do I pick a court?
content: |
${ how_to_pick_court_help_template }
---
id: attorney bbo
question: |
Expand Down
4 changes: 2 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ def find_package_data(where='.', package='', exclude=standard_exclude, exclude_d
return out

setup(name='docassemble.ALMassachusetts',
version='0.0.8',
version='0.1.0',
description=('A docassemble extension of the AssemblyLine project that provides a foundation of Massachusetts-specific data, functionality, and questions.'),
long_description='# docassemble.ALMassachusetts\r\n\r\nA docassemble extension of the AssemblyLine project that provides a foundation of Massachusetts-specific data, functionality, and questions.\r\n\r\n## Author\r\n\r\nSuffolk Law School Legal Innovation and Technology Lab\r\n',
long_description_content_type='text/markdown',
Expand All @@ -53,7 +53,7 @@ def find_package_data(where='.', package='', exclude=standard_exclude, exclude_d
url='https://docassemble.org',
packages=find_packages(),
namespace_packages=['docassemble'],
install_requires=['docassemble.MACourts>=0.0.57'],
install_requires=['docassemble.MACourts>=0.0.58.2'],
zip_safe=False,
package_data=find_package_data(where='docassemble/ALMassachusetts/', package='docassemble.ALMassachusetts'),
)
Expand Down

0 comments on commit e23cca0

Please sign in to comment.