Sha256: d5c06e20b8272f716a5fb0550b1b301c907ce9ad81723a8677b6a7e39ca13144
Contents?: true
Size: 831 Bytes
Versions: 53
Compression:
Stored size: 831 Bytes
Contents
<% add_gem_component_stylesheet("details") shared_helper = GovukPublishingComponents::Presenters::SharedHelper.new(local_assigns) open ||= nil margin_bottom ||= 3 css_classes = %w(gem-c-details govuk-details) css_classes << shared_helper.get_margin_bottom details_data_attributes = {} details_data_attributes[:module] = 'govuk-details gem-details' data_attributes ||= {} data_attributes[:details_track_click] = '' summary_aria_attributes ||= {} %> <%= tag.details class: css_classes, data: details_data_attributes, open: open do %> <%= tag.summary class: "govuk-details__summary", data: data_attributes, aria: summary_aria_attributes do %> <span class="govuk-details__summary-text"> <%= title %> </span> <% end %> <div class="govuk-details__text"> <%= yield %> </div> <% end %>
Version data entries
53 entries across 53 versions & 1 rubygems