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

Version Path
govuk_publishing_components-45.7.0 node_modules/govuk-frontend/dist/govuk/components/details/template.njk
govuk_publishing_components-45.6.1 node_modules/govuk-frontend/dist/govuk/components/details/template.njk
govuk_publishing_components-45.6.0 node_modules/govuk-frontend/dist/govuk/components/details/template.njk
govuk_publishing_components-45.5.0 node_modules/govuk-frontend/dist/govuk/components/details/template.njk
govuk_publishing_components-45.4.1 node_modules/govuk-frontend/dist/govuk/components/details/template.njk
govuk_publishing_components-45.4.0 node_modules/govuk-frontend/dist/govuk/components/details/template.njk
govuk_publishing_components-45.3.0 node_modules/govuk-frontend/dist/govuk/components/details/template.njk
govuk_publishing_components-45.2.0 node_modules/govuk-frontend/dist/govuk/components/details/template.njk
govuk_publishing_components-45.1.0 node_modules/govuk-frontend/dist/govuk/components/details/template.njk
govuk_publishing_components-45.0.0 node_modules/govuk-frontend/dist/govuk/components/details/template.njk
govuk_publishing_components-44.11.0 node_modules/govuk-frontend/dist/govuk/components/details/template.njk
govuk_publishing_components-44.10.0 node_modules/govuk-frontend/dist/govuk/components/details/template.njk
govuk_publishing_components-44.9.1 node_modules/govuk-frontend/dist/govuk/components/details/template.njk
govuk_publishing_components-44.9.0 node_modules/govuk-frontend/dist/govuk/components/details/template.njk
govuk_publishing_components-44.8.0 node_modules/govuk-frontend/dist/govuk/components/details/template.njk
govuk_publishing_components-44.7.1 node_modules/govuk-frontend/dist/govuk/components/details/template.njk
govuk_publishing_components-44.7.0 node_modules/govuk-frontend/dist/govuk/components/details/template.njk
govuk_publishing_components-44.6.0 node_modules/govuk-frontend/dist/govuk/components/details/template.njk
govuk_publishing_components-44.5.0 node_modules/govuk-frontend/dist/govuk/components/details/template.njk
govuk_publishing_components-44.4.2 node_modules/govuk-frontend/dist/govuk/components/details/template.njk