Sha256: b50d2aac4d212f4b5d0f9f0ae21cf6f8cc9f655e1a26f73c659eaf17ec32afcc
Contents?: true
Size: 753 Bytes
Versions: 8
Compression:
Stored size: 753 Bytes
Contents
<% margin_top ||= 1 margin_top_class = "gem-c-feedback--top-margin" if margin_top == 1 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 <%= margin_top_class %>" data-module="feedback"> <%= 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"%> </div>
Version data entries
8 entries across 8 versions & 1 rubygems