Logo
Explore Help
Sign In
darkhelm/notifications-admin
1
0
Fork 0
You've already forked notifications-admin
mirror of https://github.com/GSA/notifications-admin.git synced 2026-08-15 07:18:58 -04:00
Code Issues Packages Projects Releases Wiki Activity
Files
2f9e2dbc9d792fa00e7d9e13f9c538ad308eccf5
notifications-admin/app/templates/forms/fields/checkboxes/macro.njk

5 lines
118 B
Plaintext
Raw Normal View History

Add govukCollapsibleNestedCheckboxesField 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.
2020-04-23 12:15:24 +01:00
{%- macro govukCheckboxes(params) %}
{%- include "./template.njk" -%}
{%- endmacro %}
{{ govukCheckboxes(params) }}
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.25.0 Page: 2532ms Template: 7ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API