Sha256: d6583acbdb57490754cca3458e4cf30ca3cd8a85c04916b870b9f5b43696cfab

Contents?: true

Size: 884 Bytes

Versions: 2

Compression:

Stored size: 884 Bytes

Contents

<%
  add_gem_component_stylesheet("table")
  add_gem_component_stylesheet("select")
  add_gem_component_stylesheet("summary-list")
%>

<% content_for :title, "Component audit" %>
<%= render 'govuk_publishing_components/components/heading', {
    text: "Components audit",
    heading_level: 1,
    font_size: "xl",
    margin_bottom: 8
  }
%>

<% applications = capture do %>
  <%= render "applications" %>
<% end %>

<% components = capture do %>
  <%= render "components" %>
<% end %>

<% if @in_application or @other_applications %>
  <%= render "govuk_publishing_components/components/tabs", {
    tabs: [
      {
        id: "applications",
        label: "Applications",
        content: applications,
      },
      {
        id: "components-gem",
        label: "Components",
        content: components,
      }
    ]
  } %>
<% else %>
  <%= render "components" %>
<% end %>

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
govuk_publishing_components-51.1.0 app/views/govuk_publishing_components/audit/show.html.erb
govuk_publishing_components-51.0.0 app/views/govuk_publishing_components/audit/show.html.erb