Sha256: 350df9e482252adbb37129b0225d633ff6011676a570cf08ec962c98ab7fb411

Contents?: true

Size: 626 Bytes

Versions: 126

Compression:

Stored size: 626 Bytes

Contents

{% set headingLevel = params.headingLevel if params.headingLevel else 1 %}
<div class="govuk-panel govuk-panel--confirmation
  {%- if params.classes %} {{ params.classes }}{% endif %}"
  {%- for attribute, value in params.attributes %} {{attribute}}="{{value}}"{% endfor %}>
  <h{{ headingLevel }} class="govuk-panel__title">
    {{ params.titleHtml | safe if params.titleHtml else params.titleText }}
  </h{{ headingLevel }}>
  {% if caller or params.html or params.text %}
  <div class="govuk-panel__body">
    {{ caller() if caller else (params.html | safe if params.html else params.text) }}
  </div>
  {% endif %}
</div>

Version data entries

126 entries across 126 versions & 1 rubygems

Version Path
govuk_publishing_components-35.1.1 node_modules/govuk-frontend/govuk/components/panel/template.njk
govuk_publishing_components-35.1.0 node_modules/govuk-frontend/govuk/components/panel/template.njk
govuk_publishing_components-35.0.0 node_modules/govuk-frontend/govuk/components/panel/template.njk
govuk_publishing_components-34.14.0 node_modules/govuk-frontend/govuk/components/panel/template.njk
govuk_publishing_components-34.13.0 node_modules/govuk-frontend/govuk/components/panel/template.njk
govuk_publishing_components-34.12.0 node_modules/govuk-frontend/govuk/components/panel/template.njk
govuk_publishing_components-34.11.0 node_modules/govuk-frontend/govuk/components/panel/template.njk
govuk_publishing_components-34.10.1 node_modules/govuk-frontend/govuk/components/panel/template.njk
govuk_publishing_components-34.10.0 node_modules/govuk-frontend/govuk/components/panel/template.njk
govuk_publishing_components-34.9.1 node_modules/govuk-frontend/govuk/components/panel/template.njk
govuk_publishing_components-34.9.0 node_modules/govuk-frontend/govuk/components/panel/template.njk
govuk_publishing_components-34.8.1 node_modules/govuk-frontend/govuk/components/panel/template.njk
govuk_publishing_components-34.8.0 node_modules/govuk-frontend/govuk/components/panel/template.njk
govuk_publishing_components-34.7.1 node_modules/govuk-frontend/govuk/components/panel/template.njk
govuk_publishing_components-34.7.0 node_modules/govuk-frontend/govuk/components/panel/template.njk
govuk_publishing_components-34.6.0 node_modules/govuk-frontend/govuk/components/panel/template.njk
govuk_publishing_components-34.5.1 node_modules/govuk-frontend/govuk/components/panel/template.njk
govuk_publishing_components-34.5.0 node_modules/govuk-frontend/govuk/components/panel/template.njk
govuk_publishing_components-34.4.2 node_modules/govuk-frontend/govuk/components/panel/template.njk
govuk_publishing_components-34.4.1 node_modules/govuk-frontend/govuk/components/panel/template.njk