Sha256: 83021e5e2c66471bfcaed50b49e13a3f837835bddf038b0975c5c99f7539d087
Contents?: true
Size: 542 Bytes
Versions: 18
Compression:
Stored size: 542 Bytes
Contents
<% add_gem_component_stylesheet("error-alert") id ||= nil description ||= nil data_attributes ||= {} %> <%= tag.div id: id, class: "gem-c-error-alert govuk-!-display-none-print", data: { module: "initial-focus" }.merge(data_attributes), role: "alert", tabindex: "-1" do %> <% if description.present? %> <%= tag.h2 message, class: "gem-c-error-summary__title" %> <%= tag.div description, class: "gem-c-error-summary__body" %> <% else %> <%= tag.p message, class: "gem-c-error-alert__message" %> <% end %> <% end %>
Version data entries
18 entries across 18 versions & 1 rubygems