Sha256: d059b18fa6d0988e566d5f604e2dee5d658b9b7595d889956d6c59589b516ee5
Contents?: true
Size: 492 Bytes
Versions: 3
Compression:
Stored size: 492 Bytes
Contents
<% attributes = { class: class_names("govuk-error-message", local_assigns[:classes]), id: local_assigns[:id] }.merge!(local_assigns[:attributes] || {}) visually_hidden_text = local_assigns[:visuallyHiddenText].nil? ? "Error" : local_assigns[:visuallyHiddenText] %> <%= tag.p(**attributes) do %> <span class="govuk-visually-hidden"><%= local_assigns[:visuallyHiddenText].presence || "Error" %>:</span> <%= local_assigns[:html].presence || local_assigns[:text] %> <% end %>
Version data entries
3 entries across 3 versions & 1 rubygems