LemmaLegalConsulting/docassemble-CLAGuardianship

Removal of Guardian - Hide nav sections when user is minor

RamiLorca opened this issue · 2 comments

When user is minor, certain nav sections need to be hidden (e.g. Fe Waiver). Current code that attempts to do this is not working.

The logic in the al_nav_sections looks correct, but this code block was missing:

---
code: |
  enable_al_nav_sections = True

See: https://assemblyline.suffolklitlab.org/docs/framework/navigation#turning-on-the-assembly-line-navigation-system

One other issue: it uses data rather than data from code. When you use data, the conditions (what makes hidden applicable) need to be in mako tags, like ${ showifdef("...") }