Sha256: 9b9c06311271dacf9101eca8b6141871d745b635fe3776afd681cefd231d7cef
Contents?: true
Size: 950 Bytes
Versions: 70
Compression:
Stored size: 950 Bytes
Contents
<% add_gem_component_stylesheet("button") 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]')) disable_ga4 ||= false data_module = "feedback" data_module << " ga4-event-tracker" unless disable_ga4 %> <div class="gem-c-feedback govuk-!-display-none-print" data-module="<%= data_module %>"> <%= render "govuk_publishing_components/components/feedback/yes_no_banner", disable_ga4: %> <%= render "govuk_publishing_components/components/feedback/problem_form", url_without_pii: url_without_pii, disable_ga4: %> <%= render "govuk_publishing_components/components/feedback/survey_signup_form", path_without_pii: path_without_pii, disable_ga4: %> </div>
Version data entries
70 entries across 70 versions & 1 rubygems