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-11 09:28:27 -04:00
Code Issues Packages Projects Releases Wiki Activity
Files
aacac232bf2fcc64177f3019b6b9b7acbb6b0b21
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: 1579ms Template: 42ms
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