Sha256: 45b471f6c98eb251ef40b16d72ed922151028a4312cdc1c4fd45db1c95385daa
Contents?: true
Size: 766 Bytes
Versions: 15
Compression:
Stored size: 766 Bytes
Contents
<% add_gem_component_stylesheet("feedback") def utf_encode(element) element.is_a?(String) ? element.encode : element end email_regex = /[^\s=\/?&]+(?:@|%40)[^\s=\/?&]+/ url_without_pii = utf_encode(request.original_url.gsub(email_regex, '[email]')) path_without_pii = utf_encode(request.fullpath.gsub(email_regex, '[email]')) %> <div class="gem-c-feedback govuk-!-display-none-print" data-module="feedback ga4-event-tracker"> <%= render "govuk_publishing_components/components/feedback/yes_no_banner" %> <%= render "govuk_publishing_components/components/feedback/problem_form", url_without_pii: url_without_pii %> <%= render "govuk_publishing_components/components/feedback/survey_signup_form", path_without_pii: path_without_pii %> </div>
Version data entries
15 entries across 15 versions & 1 rubygems