Sha256: 4b0e117fbe28de8d819a608a9f8550a06238c73dbda744a39fc215b2e6e0d207
Contents?: true
Size: 899 Bytes
Versions: 103
Compression:
Stored size: 899 Bytes
Contents
<% add_gem_component_stylesheet("contextual-guidance") id ||= nil title ||= nil content ||= nil data_attributes ||= {} data_attributes[:module] = "contextual-guidance" guidance_id ||= nil %> <%= 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, id: guidance_id 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
103 entries across 103 versions & 1 rubygems