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