Sha256: 154ae8647bf64f467f248446e25f1a6dcd222baa1fd1db1181aca666e12bb066

Contents?: true

Size: 1.69 KB

Versions: 131

Compression:

Stored size: 1.69 KB

Contents

<form action="/contact/govuk/email-survey-signup"
  id="page-is-not-useful"
  class="gem-c-feedback__form gem-c-feedback__form--email gem-c-feedback__js-show js-feedback-form js-hidden"
  data-track-category="yesNoFeedbackForm"
  data-track-action="Send Form"
  method="post">
  <a href="#"
    class="gem-c-feedback__close js-close-form"
    data-track-category="yesNoFeedbackForm"
    data-track-action="ffFormClose"
    aria-controls="page-is-not-useful"
    aria-expanded="true"
    role="button">Close</a>

  <div class="govuk-grid-row">
    <div class="govuk-grid-column-two-thirds" id="survey-wrapper">
      <div class="gem-c-feedback__error-summary js-hidden js-errors" tabindex="-1"></div>

      <input name="email_survey_signup[survey_id]" type="hidden" value="footer_satisfaction_survey">
      <input name="email_survey_signup[survey_source]" type="hidden" value="<%= path_without_pii %>">

      <h3 class="gem-c-feedback__form-heading">Help us improve GOV.UK</h3>
      <p id="survey_explanation" class="gem-c-feedback__form-paragraph">To help us improve GOV.UK, we’d like to know more about your visit today. We’ll send you a link to a feedback form. It will take only 2 minutes to fill in. Don’t worry we won’t send you spam or share your email address with anyone.</p>

      <%= render "govuk_publishing_components/components/input", {
        label: {
          text: "Email address"
        },
        name: "email_survey_signup[email_address]",
        type: "email",
        autocomplete: "email",
        describedby: "survey_explanation"
      } %>

      <%= render "govuk_publishing_components/components/button", {
        text: "Send me the survey",
      } %>
    </div>
  </div>
</form>

Version data entries

131 entries across 131 versions & 1 rubygems

Version Path
govuk_publishing_components-21.62.0 app/views/govuk_publishing_components/components/feedback/_survey_signup_form.html.erb
govuk_publishing_components-21.61.0 app/views/govuk_publishing_components/components/feedback/_survey_signup_form.html.erb
govuk_publishing_components-21.60.3 app/views/govuk_publishing_components/components/feedback/_survey_signup_form.html.erb
govuk_publishing_components-21.60.2 app/views/govuk_publishing_components/components/feedback/_survey_signup_form.html.erb
govuk_publishing_components-21.60.1 app/views/govuk_publishing_components/components/feedback/_survey_signup_form.html.erb
govuk_publishing_components-21.60.0 app/views/govuk_publishing_components/components/feedback/_survey_signup_form.html.erb
govuk_publishing_components-21.59.0 app/views/govuk_publishing_components/components/feedback/_survey_signup_form.html.erb
govuk_publishing_components-21.58.0 app/views/govuk_publishing_components/components/feedback/_survey_signup_form.html.erb
govuk_publishing_components-21.57.1 app/views/govuk_publishing_components/components/feedback/_survey_signup_form.html.erb
govuk_publishing_components-21.57.0 app/views/govuk_publishing_components/components/feedback/_survey_signup_form.html.erb
govuk_publishing_components-21.56.2 app/views/govuk_publishing_components/components/feedback/_survey_signup_form.html.erb
govuk_publishing_components-21.56.1 app/views/govuk_publishing_components/components/feedback/_survey_signup_form.html.erb
govuk_publishing_components-21.56.0 app/views/govuk_publishing_components/components/feedback/_survey_signup_form.html.erb
govuk_publishing_components-21.55.4 app/views/govuk_publishing_components/components/feedback/_survey_signup_form.html.erb
govuk_publishing_components-21.55.3 app/views/govuk_publishing_components/components/feedback/_survey_signup_form.html.erb
govuk_publishing_components-21.55.2 app/views/govuk_publishing_components/components/feedback/_survey_signup_form.html.erb
govuk_publishing_components-21.55.1 app/views/govuk_publishing_components/components/feedback/_survey_signup_form.html.erb
govuk_publishing_components-21.55.0 app/views/govuk_publishing_components/components/feedback/_survey_signup_form.html.erb
govuk_publishing_components-21.54.0 app/views/govuk_publishing_components/components/feedback/_survey_signup_form.html.erb
govuk_publishing_components-21.53.0 app/views/govuk_publishing_components/components/feedback/_survey_signup_form.html.erb