Sha256: c022d2b96ff0420d741789581e97689e5ec9fc025999e0b14bd848b974d5d017
Contents?: true
Size: 805 Bytes
Versions: 17
Compression:
Stored size: 805 Bytes
Contents
<% id ||= nil title ||= nil content ||= nil data_attributes ||= {} data_attributes[:module] = "contextual-guidance" %> <%= tag.div class: "gem-c-contextual-guidance", id: id, data: data_attributes do %> <%= tag.div class: "govuk-grid-row" do %> <%= tag.div class: "govuk-grid-column-two-thirds" do %> <%= tag.div class: "gem-c-contextual-guidance__input-field" do %> <%= yield %> <% end %> <% end %> <%= tag.div class: "govuk-grid-column-one-third" do %> <%= tag.div class: "gem-c-contextual-guidance__wrapper", for: html_for do %> <%= tag.div class: "gem-c-contextual-guidance__guidance" do %> <%= tag.h2 title, class: "govuk-heading-s" %> <%= content %> <% end %> <% end %> <% end %> <% end %> <% end %>
Version data entries
17 entries across 17 versions & 1 rubygems