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.52.1 app/views/govuk_publishing_components/components/feedback/_survey_signup_form.html.erb
govuk_publishing_components-21.52.0 app/views/govuk_publishing_components/components/feedback/_survey_signup_form.html.erb
govuk_publishing_components-21.51.0 app/views/govuk_publishing_components/components/feedback/_survey_signup_form.html.erb
govuk_publishing_components-21.50.1 app/views/govuk_publishing_components/components/feedback/_survey_signup_form.html.erb
govuk_publishing_components-21.50.0 app/views/govuk_publishing_components/components/feedback/_survey_signup_form.html.erb
govuk_publishing_components-21.49.0 app/views/govuk_publishing_components/components/feedback/_survey_signup_form.html.erb
govuk_publishing_components-21.48.0 app/views/govuk_publishing_components/components/feedback/_survey_signup_form.html.erb
govuk_publishing_components-21.47.0 app/views/govuk_publishing_components/components/feedback/_survey_signup_form.html.erb
govuk_publishing_components-21.46.0 app/views/govuk_publishing_components/components/feedback/_survey_signup_form.html.erb
govuk_publishing_components-21.45.0 app/views/govuk_publishing_components/components/feedback/_survey_signup_form.html.erb
govuk_publishing_components-21.44.0 app/views/govuk_publishing_components/components/feedback/_survey_signup_form.html.erb
govuk_publishing_components-21.43.0 app/views/govuk_publishing_components/components/feedback/_survey_signup_form.html.erb
govuk_publishing_components-21.42.0 app/views/govuk_publishing_components/components/feedback/_survey_signup_form.html.erb
govuk_publishing_components-21.41.4 app/views/govuk_publishing_components/components/feedback/_survey_signup_form.html.erb
govuk_publishing_components-21.41.3 app/views/govuk_publishing_components/components/feedback/_survey_signup_form.html.erb
govuk_publishing_components-21.41.2 app/views/govuk_publishing_components/components/feedback/_survey_signup_form.html.erb
govuk_publishing_components-21.41.1 app/views/govuk_publishing_components/components/feedback/_survey_signup_form.html.erb
govuk_publishing_components-21.41.0 app/views/govuk_publishing_components/components/feedback/_survey_signup_form.html.erb
govuk_publishing_components-21.40.0 app/views/govuk_publishing_components/components/feedback/_survey_signup_form.html.erb
govuk_publishing_components-21.39.0 app/views/govuk_publishing_components/components/feedback/_survey_signup_form.html.erb