mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-02-12 22:44:09 -05:00
Includes:
1. changes to make NestedFieldMixin work
with new fields and CSS for nested checkboxes
2. adds custom version of GOVUK checkboxes
component to allow us to:
- add classes to elements currently inaccessible
- wrap the checkboxes in a list
- add child checkboxes to each checkbox (making
tree structures possible through recursion
Change 2. should be pushed upstream to the GOVUK
Design System as a proposal for changes to the
GOVUK Checkboxes component.
5 lines
118 B
Plaintext
5 lines
118 B
Plaintext
{%- macro govukCheckboxes(params) %}
|
|
{%- include "./template.njk" -%}
|
|
{%- endmacro %}
|
|
{{ govukCheckboxes(params) }}
|