Sha256: 62d795d7bfa8fb73ab056032f86b4bbf31e91b226568b9d3d20ea1992f497b64
Contents?: true
Size: 645 Bytes
Versions: 38
Compression:
Stored size: 645 Bytes
Contents
{% from "../../macros/attributes.njk" import govukAttributes -%} <details {%- if params.id %} id="{{ params.id }}"{% endif %} class="govuk-details {%- if params.classes %} {{ params.classes }}{% endif %}" {{- govukAttributes(params.attributes) -}} {{- " open" if params.open }}> <summary class="govuk-details__summary"> <span class="govuk-details__summary-text"> {{ params.summaryHtml | safe | trim | indent(6) if params.summaryHtml else params.summaryText }} </span> </summary> <div class="govuk-details__text"> {{ caller() if caller else (params.html | safe if params.html else params.text) }} </div> </details>
Version data entries
38 entries across 38 versions & 2 rubygems