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-34.12.0 app/views/govuk_publishing_components/components/_panel.html.erb
govuk_publishing_components-34.11.0 app/views/govuk_publishing_components/components/_panel.html.erb
govuk_publishing_components-34.10.1 app/views/govuk_publishing_components/components/_panel.html.erb
govuk_publishing_components-34.10.0 app/views/govuk_publishing_components/components/_panel.html.erb
govuk_publishing_components-34.9.1 app/views/govuk_publishing_components/components/_panel.html.erb
govuk_publishing_components-34.9.0 app/views/govuk_publishing_components/components/_panel.html.erb
govuk_publishing_components-34.8.1 app/views/govuk_publishing_components/components/_panel.html.erb
govuk_publishing_components-34.8.0 app/views/govuk_publishing_components/components/_panel.html.erb
govuk_publishing_components-34.7.1 app/views/govuk_publishing_components/components/_panel.html.erb
govuk_publishing_components-34.7.0 app/views/govuk_publishing_components/components/_panel.html.erb
govuk_publishing_components-34.6.0 app/views/govuk_publishing_components/components/_panel.html.erb
govuk_publishing_components-34.5.1 app/views/govuk_publishing_components/components/_panel.html.erb
govuk_publishing_components-34.5.0 app/views/govuk_publishing_components/components/_panel.html.erb
govuk_publishing_components-34.4.2 app/views/govuk_publishing_components/components/_panel.html.erb
govuk_publishing_components-34.4.1 app/views/govuk_publishing_components/components/_panel.html.erb
govuk_publishing_components-34.4.0 app/views/govuk_publishing_components/components/_panel.html.erb
govuk_publishing_components-34.3.0 app/views/govuk_publishing_components/components/_panel.html.erb
govuk_publishing_components-34.2.0 app/views/govuk_publishing_components/components/_panel.html.erb
govuk_publishing_components-34.1.3 app/views/govuk_publishing_components/components/_panel.html.erb
govuk_publishing_components-34.1.2 app/views/govuk_publishing_components/components/_panel.html.erb