Sha256: ca71b4c2a6d3f6f9fc99124837ff7eed9ce0eeb035a46aad0667a4e4a34f1887
Contents?: true
Size: 725 Bytes
Versions: 56
Compression:
Stored size: 725 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
56 entries across 56 versions & 1 rubygems