Sha256: 4bf54eeb0e8ba20620d4c4516aafcae972ddfd47c055a20e7813775023b1df0e

Contents?: true

Size: 875 Bytes

Versions: 116

Compression:

Stored size: 875 Bytes

Contents

<% content_for :title, "#{@component_example.name} example - #{@component_doc.name} component" %>
<%= render 'govuk_publishing_components/components/title', title: @component_example.name, context: "#{@component_doc.name} example" %>

<div class="component-show">
  <div class="component-doc">
    <%= render "govuk_publishing_components/components/govspeak", content: raw(@component_example.html_description) %>
    <h2 class="component-doc-h2">How to call this example</h2>
    <%= render partial: "govuk_publishing_components/component_guide/component_doc/call", locals: { component_doc: @component_doc, example: @component_example } %>

    <h2 class="component-doc-h2">How it looks</h2>
    <%= render partial: "govuk_publishing_components/component_guide/component_doc/preview", locals: { component_doc: @component_doc, example: @component_example } %>
  </div>
</div>

Version data entries

116 entries across 116 versions & 1 rubygems

Version Path
govuk_publishing_components-16.13.0 app/views/govuk_publishing_components/component_guide/example.html.erb
govuk_publishing_components-16.12.0 app/views/govuk_publishing_components/component_guide/example.html.erb
govuk_publishing_components-16.11.0 app/views/govuk_publishing_components/component_guide/example.html.erb
govuk_publishing_components-16.10.1 app/views/govuk_publishing_components/component_guide/example.html.erb
govuk_publishing_components-16.10.0 app/views/govuk_publishing_components/component_guide/example.html.erb
govuk_publishing_components-16.9.2 app/views/govuk_publishing_components/component_guide/example.html.erb
govuk_publishing_components-16.9.1 app/views/govuk_publishing_components/component_guide/example.html.erb
govuk_publishing_components-16.9.0 app/views/govuk_publishing_components/component_guide/example.html.erb
govuk_publishing_components-16.8.0 app/views/govuk_publishing_components/component_guide/example.html.erb
govuk_publishing_components-16.7.0 app/views/govuk_publishing_components/component_guide/example.html.erb
govuk_publishing_components-16.6.0 app/views/govuk_publishing_components/component_guide/example.html.erb
govuk_publishing_components-16.5.0 app/views/govuk_publishing_components/component_guide/example.html.erb
govuk_publishing_components-16.4.0 app/views/govuk_publishing_components/component_guide/example.html.erb
govuk_publishing_components-16.3.0 app/views/govuk_publishing_components/component_guide/example.html.erb
govuk_publishing_components-16.2.0 app/views/govuk_publishing_components/component_guide/example.html.erb
govuk_publishing_components-16.1.0 app/views/govuk_publishing_components/component_guide/example.html.erb
govuk_publishing_components-16.0.0 app/views/govuk_publishing_components/component_guide/example.html.erb
govuk_publishing_components-15.3.0 app/views/govuk_publishing_components/component_guide/example.html.erb
govuk_publishing_components-15.2.0 app/views/govuk_publishing_components/component_guide/example.html.erb
govuk_publishing_components-15.1.0 app/views/govuk_publishing_components/component_guide/example.html.erb