Sha256: 6e7d9ac4972ae10ea80c3eb8b3160dec1bb9cf1befc6210b8e772cc48de244a1

Contents?: true

Size: 735 Bytes

Versions: 213

Compression:

Stored size: 735 Bytes

Contents

<%
  description ||= false
  prepend ||= false
  append ||= false

  shared_helper = GovukPublishingComponents::Presenters::SharedHelper.new(local_assigns)
%>
<div class="gem-c-panel govuk-panel govuk-panel--confirmation">
  <%= content_tag(shared_helper.get_heading_level, class: "govuk-panel__title") do %>
    <% if prepend %>
      <span class="gem-c-panel__prepend">
        <%= prepend %>
      </span>
    <% end %>
    <span class="govuk-panel__title-text">
      <%= title %>
    </span>
    <% if append %>
      <span class="gem-c-panel__append">
        <%= append %>
      </span>
    <% end %>
  <% end %>

  <% if description %>
    <div class="govuk-panel__body">
      <%= description %>
    </div>
  <% end %>
</div>

Version data entries

213 entries across 213 versions & 1 rubygems

Version Path
govuk_publishing_components-23.7.3 app/views/govuk_publishing_components/components/_panel.html.erb
govuk_publishing_components-23.7.2 app/views/govuk_publishing_components/components/_panel.html.erb
govuk_publishing_components-23.7.1 app/views/govuk_publishing_components/components/_panel.html.erb
govuk_publishing_components-23.7.0 app/views/govuk_publishing_components/components/_panel.html.erb
govuk_publishing_components-23.6.0 app/views/govuk_publishing_components/components/_panel.html.erb
govuk_publishing_components-23.5.1 app/views/govuk_publishing_components/components/_panel.html.erb
govuk_publishing_components-23.5.0 app/views/govuk_publishing_components/components/_panel.html.erb
govuk_publishing_components-23.4.0 app/views/govuk_publishing_components/components/_panel.html.erb
govuk_publishing_components-23.3.0 app/views/govuk_publishing_components/components/_panel.html.erb
govuk_publishing_components-23.2.1 app/views/govuk_publishing_components/components/_panel.html.erb
govuk_publishing_components-23.2.0 app/views/govuk_publishing_components/components/_panel.html.erb
govuk_publishing_components-23.1.0 app/views/govuk_publishing_components/components/_panel.html.erb
govuk_publishing_components-23.0.0 app/views/govuk_publishing_components/components/_panel.html.erb