Sha256: c8e34c0894117d441e9a75d0694ba3f56b65c4e8080b16d557adbfa7aa3d0910
Contents?: true
Size: 723 Bytes
Versions: 69
Compression:
Stored size: 723 Bytes
Contents
<% 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] = '' %> <%= tag.details class: css_classes, data: details_data_attributes, open: open do %> <%= tag.summary class: "govuk-details__summary", data: data_attributes do %> <span class="govuk-details__summary-text"> <%= title %> </span> <% end %> <div class="govuk-details__text"> <%= yield %> </div> <% end %>
Version data entries
69 entries across 69 versions & 1 rubygems