Files
notifications-admin/app/templates/components/uk_components/fieldset/template.njk
Jonathan Bobel e0d2d74067 Update dashboard and template flow (#514)
* Updated header and footer
* Moved files around and updated gulpfile to correct the build process when it goes to production
* Updated fonts
* Adjusted grid templating
* Adding images to assets
* Updated account pages, dashboard, and pages in message sending flow
* Updated the styling for the landing pages in the account section once logged in
2023-06-08 13:12:00 -04:00

18 lines
858 B
Plaintext

<fieldset class="govuk-fieldset margin-bottom-5
{%- if params.classes %} {{ params.classes }}{% endif %}"
{%- if params.describedBy %} aria-describedby="{{ params.describedBy }}"{% endif %}
{%- for attribute, value in params.attributes %} {{ attribute }}="{{ value }}"{% endfor %}>
{% if params.legend.html or params.legend.text %}
<legend class="govuk-fieldset__legend {%- if params.legend.classes %} {{ params.legend.classes }}{% endif %}">
{% if params.legend.isPageHeading %}
<h1 class="govuk-fieldset__heading">
{{ params.legend.html | safe if params.legend.html else params.legend.text }}
</h1>
{% else %}
{{ params.legend.html | safe if params.legend.html else params.legend.text }}
{% endif %}
</legend>
{% endif %}
{{ caller() if caller }} {#- if statement allows usage of `call` to be optional -#}
</fieldset>