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.8.0 app/views/govuk_publishing_components/components/feedback/_survey_signup_form.html.erb
govuk_publishing_components-21.7.0 app/views/govuk_publishing_components/components/feedback/_survey_signup_form.html.erb
govuk_publishing_components-21.6.1 app/views/govuk_publishing_components/components/feedback/_survey_signup_form.html.erb
govuk_publishing_components-21.6.0 app/views/govuk_publishing_components/components/feedback/_survey_signup_form.html.erb
govuk_publishing_components-21.5.0 app/views/govuk_publishing_components/components/feedback/_survey_signup_form.html.erb
govuk_publishing_components-21.4.1 app/views/govuk_publishing_components/components/feedback/_survey_signup_form.html.erb
govuk_publishing_components-21.4.0 app/views/govuk_publishing_components/components/feedback/_survey_signup_form.html.erb
govuk_publishing_components-21.3.0 app/views/govuk_publishing_components/components/feedback/_survey_signup_form.html.erb
govuk_publishing_components-21.2.0 app/views/govuk_publishing_components/components/feedback/_survey_signup_form.html.erb
govuk_publishing_components-21.1.1 app/views/govuk_publishing_components/components/feedback/_survey_signup_form.html.erb
govuk_publishing_components-21.1.0 app/views/govuk_publishing_components/components/feedback/_survey_signup_form.html.erb
govuk_publishing_components-21.0.0 app/views/govuk_publishing_components/components/feedback/_survey_signup_form.html.erb
govuk_publishing_components-20.5.2 app/views/govuk_publishing_components/components/feedback/_survey_signup_form.html.erb
govuk_publishing_components-20.5.1 app/views/govuk_publishing_components/components/feedback/_survey_signup_form.html.erb
govuk_publishing_components-20.5.0 app/views/govuk_publishing_components/components/feedback/_survey_signup_form.html.erb
govuk_publishing_components-20.4.0 app/views/govuk_publishing_components/components/feedback/_survey_signup_form.html.erb
govuk_publishing_components-20.3.0 app/views/govuk_publishing_components/components/feedback/_survey_signup_form.html.erb
govuk_publishing_components-20.2.2 app/views/govuk_publishing_components/components/feedback/_survey_signup_form.html.erb
govuk_publishing_components-20.2.1 app/views/govuk_publishing_components/components/feedback/_survey_signup_form.html.erb
govuk_publishing_components-20.2.0 app/views/govuk_publishing_components/components/feedback/_survey_signup_form.html.erb