Sha256: f288f076e30a7ac7225d963f68eeaa246e3cd2a1575791a851b202a68ae95554

Contents?: true

Size: 770 Bytes

Versions: 136

Compression:

Stored size: 770 Bytes

Contents

<% content_for :application_stylesheet do %>
  <% if @component_doc.source == "application" && application_stylesheet_in_use? %>
    <%= render 'application_stylesheet' %>
  <% end %>
<% end %>

<% @component_examples.each do |example| %>
  <div class="component-guide-preview-page">
    <% if @component_examples.length > 1 %>
      <h2 class="preview-title"><a href="<%= component_example_path(@component_doc.id, example.id) %>"><%= example.name %></a></h2>
    <% end %>
    <div data-module="test-a11y" data-excluded-rules="<%= @component_doc.accessibility_excluded_rules %>">
      <%= render "govuk_publishing_components/component_guide/component_doc/component", component_doc: @component_doc, example: example, preview_page: true %>
    </div>
  </div>
<% end %>

Version data entries

136 entries across 136 versions & 1 rubygems

Version Path
govuk_publishing_components-45.5.0 app/views/govuk_publishing_components/component_guide/preview.html.erb
govuk_publishing_components-45.4.1 app/views/govuk_publishing_components/component_guide/preview.html.erb
govuk_publishing_components-45.4.0 app/views/govuk_publishing_components/component_guide/preview.html.erb
govuk_publishing_components-45.3.0 app/views/govuk_publishing_components/component_guide/preview.html.erb
govuk_publishing_components-45.2.0 app/views/govuk_publishing_components/component_guide/preview.html.erb
govuk_publishing_components-45.1.0 app/views/govuk_publishing_components/component_guide/preview.html.erb
govuk_publishing_components-45.0.0 app/views/govuk_publishing_components/component_guide/preview.html.erb
govuk_publishing_components-44.11.0 app/views/govuk_publishing_components/component_guide/preview.html.erb
govuk_publishing_components-44.10.0 app/views/govuk_publishing_components/component_guide/preview.html.erb
govuk_publishing_components-44.9.1 app/views/govuk_publishing_components/component_guide/preview.html.erb
govuk_publishing_components-44.9.0 app/views/govuk_publishing_components/component_guide/preview.html.erb
govuk_publishing_components-44.8.0 app/views/govuk_publishing_components/component_guide/preview.html.erb
govuk_publishing_components-44.7.1 app/views/govuk_publishing_components/component_guide/preview.html.erb
govuk_publishing_components-44.7.0 app/views/govuk_publishing_components/component_guide/preview.html.erb
govuk_publishing_components-44.6.0 app/views/govuk_publishing_components/component_guide/preview.html.erb
govuk_publishing_components-44.5.0 app/views/govuk_publishing_components/component_guide/preview.html.erb
govuk_publishing_components-44.4.2 app/views/govuk_publishing_components/component_guide/preview.html.erb
govuk_publishing_components-44.4.1 app/views/govuk_publishing_components/component_guide/preview.html.erb
govuk_publishing_components-44.4.0 app/views/govuk_publishing_components/component_guide/preview.html.erb
govuk_publishing_components-44.3.0 app/views/govuk_publishing_components/component_guide/preview.html.erb