Sha256: 43f18faa13f221986adf111bb8ad4e0aa630767bf082138b89b71d1e00cd7982
Contents?: true
Size: 1.5 KB
Versions: 6
Compression:
Stored size: 1.5 KB
Contents
<!DOCTYPE html> <html> <head> <title> <% if @preview %> <%= @component_doc.name %><% if @component_examples.length == 1 %>: <%= @component_examples.first.name %> <% end %> preview - <% end %> <%= yield :title %><% if content_for(:title) %> - <% end %><%= GovukPublishingComponents::Config.component_guide_title %> </title> <%= stylesheet_link_tag "component_guide/application", media: "screen" %> <%= stylesheet_link_tag "#{GovukPublishingComponents::Config.application_stylesheet}" %> <% if GovukPublishingComponents::Config.application_print_stylesheet %> <%= stylesheet_link_tag "#{GovukPublishingComponents::Config.application_print_stylesheet}", media: "print" %> <% end %> <%= javascript_include_tag "component_guide/application" %> <%= javascript_include_tag "#{GovukPublishingComponents::Config.application_javascript}" %> <%= csrf_meta_tags %> </head> <body class="<%= 'hide-header-and-footer' if @preview %>"> <% unless @preview %> <div class="header-proposition"> <div class="content"> <nav id="proposition-menu" role="navigation"> <%= link_to GovukPublishingComponents::Config.component_guide_title, component_guide_path, id: 'proposition-name' %> </nav> </div> </div> <main id="wrapper" class="govuk-component-guide-wrapper"> <%= render 'govuk_component/breadcrumbs', breadcrumbs: @guide_breadcrumbs %> <% else %> <main id="wrapper"> <% end %> <%= yield %> </main> </body> </html>
Version data entries
6 entries across 6 versions & 1 rubygems