Sha256: 68aded14f2e5a8c47d605e31db19a9862a53ffb34888bff600a85099d2371cc3
Contents?: true
Size: 515 Bytes
Versions: 92
Compression:
Stored size: 515 Bytes
Contents
<% add_gem_component_stylesheet("error-alert") id ||= nil description ||= nil data_attributes ||= {} %> <%= tag.div id: id, class: "gem-c-error-alert", 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
92 entries across 92 versions & 1 rubygems