Files
notifications-admin/app/templates/partials/templates/guidance-optional-content.html

26 lines
813 B
HTML
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
{% from "components/components/inset-text/macro.njk" import usaInsetText %}
<h3 class="usa-accordion__heading">
<button type="button" class="usa-accordion__button" aria-expanded="false" aria-controls="m-a2">
Optional content
</button>
</h3>
<div id="m-a2" class="usa-accordion__content usa-prose">
<p class="usa-body">
Use double parenthesis and ?? to define optional content.
</p>
<p class="bottom-gutter-1-3">
For example if you only want to show something to people who are under
18:
</p>
{{ usaInsetText({
"text": "((under18??Please get your application signed by a parent or
guardian.))",
"classes": "usa-body"})
}}
<p class="usa-body">
For each person you send this message to, specify yes or no to
show or hide this content.
</p>
</div>