Sha256: bae89cb5d490fbd04bc165b65043d72f9ea9c330695153b895cd257706177e95
Contents?: true
Size: 610 Bytes
Versions: 190
Compression:
Stored size: 610 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) data_attributes ||= {} data_attributes[:module] = 'govuk-details' %> <%= tag.details class: css_classes, data: data_attributes, open: open do %> <summary class="govuk-details__summary" data-details-track-click> <span class="govuk-details__summary-text"> <%= title %> </span> </summary> <div class="govuk-details__text"> <%= yield %> </div> <% end %>
Version data entries
190 entries across 190 versions & 1 rubygems