Sha256: 8b05b62744b791de35749b95c9b760ea58e1735daac2a7bc9ce03e1d09304c27
Contents?: true
Size: 1000 Bytes
Versions: 323
Compression:
Stored size: 1000 Bytes
Contents
<% highlight_box ||= false document_list ||= false image_cards ||= false highlight_box.merge!({within_multitype_list: true}) if highlight_box document_list.merge!({within_multitype_list: true}) if document_list taxonomy_list_helper = GovukPublishingComponents::Presenters::TaxonomyListHelper.new(image_cards) %> <% if highlight_box || document_list || image_cards %> <ul class="gem-c-taxonomy-list" data-module="track-click"> <% if image_cards %> <% taxonomy_list_helper.image_card_data.each do |image_card| %> <li class="gem-c-taxonomy-list__item"> <%= render "govuk_publishing_components/components/image_card", image_card %> </li> <% end %> <% end %> <% if highlight_box %> <%= render "govuk_publishing_components/components/highlight_boxes", highlight_box %> <% end %> <% if document_list %> <%= render "govuk_publishing_components/components/document_list", document_list %> <% end %> </ul> <% end %>
Version data entries
323 entries across 323 versions & 1 rubygems