Sha256: a99a50712611de08cbd4bc330d8301e762455259e7c887414ae44ff1c5b4b22f
Contents?: true
Size: 952 Bytes
Versions: 13
Compression:
Stored size: 952 Bytes
Contents
<% add_gem_component_stylesheet("panel") description ||= false prepend ||= false append ||= false shared_helper = GovukPublishingComponents::Presenters::SharedHelper.new(local_assigns) component_helper = GovukPublishingComponents::Presenters::ComponentWrapperHelper.new(local_assigns) component_helper.add_class("gem-c-panel govuk-panel govuk-panel--confirmation") %> <%= tag.div(**component_helper.all_attributes) do %> <%= 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 %> <% end %>
Version data entries
13 entries across 13 versions & 1 rubygems