Sha256: cab6a1de124851071eb2aa7756f1de51bde2fdb1d672cbfb95b15d207e103de6

Contents?: true

Size: 662 Bytes

Versions: 22

Compression:

Stored size: 662 Bytes

Contents

<%
  govspeak_locals = {}
  govspeak_locals[:content] = local_assigns.fetch(:content) if local_assigns.include?(:content)
  govspeak_locals[:direction] = local_assigns.fetch(:direction) if local_assigns.include?(:direction)
  govspeak_locals[:rich_govspeak] = local_assigns.fetch(:rich_govspeak) if local_assigns.include?(:rich_govspeak)
  govspeak_locals[:disable_youtube_expansions] = local_assigns.fetch(:disable_youtube_expansions) if local_assigns.include?(:disable_youtube_expansions)
%>
<div class="gem-c-govspeak-html-publication">
  <%= render 'govuk_publishing_components/components/govspeak', govspeak_locals do %>
    <%= yield %>
  <% end %>
</div>

Version data entries

22 entries across 22 versions & 1 rubygems

Version Path
govuk_publishing_components-9.2.0 app/views/govuk_publishing_components/components/_govspeak_html_publication.html.erb
govuk_publishing_components-9.1.1 app/views/govuk_publishing_components/components/_govspeak_html_publication.html.erb