Sha256: 01171ab0c5b6ea3be9ea47575990112882b5a2a21d006891a337a6c68af05186

Contents?: true

Size: 1.6 KB

Versions: 4

Compression:

Stored size: 1.6 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="gem-c-feedback__grid-row">
    <div class="gem-c-feedback__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">

      <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

4 entries across 4 versions & 1 rubygems

Version Path
govuk_publishing_components-17.12.2 app/views/govuk_publishing_components/components/feedback/_survey_signup_form.html.erb
govuk_publishing_components-17.12.1 app/views/govuk_publishing_components/components/feedback/_survey_signup_form.html.erb
govuk_publishing_components-17.12.0 app/views/govuk_publishing_components/components/feedback/_survey_signup_form.html.erb
govuk_publishing_components-17.11.0 app/views/govuk_publishing_components/components/feedback/_survey_signup_form.html.erb