Sha256: fd885a57a25e780f594ad0efe4243fb2ca905b5701f90a7f9e440fae4abb71ec

Contents?: true

Size: 1.83 KB

Versions: 65

Compression:

Stored size: 1.83 KB

Contents

<form action="/contact/govuk/problem_reports"
  id="something-is-wrong"
  class="gem-c-feedback__form js-feedback-form js-hidden"
  data-track-category="Onsite Feedback"
  data-track-action="GOV.UK Send Form"
  method="post">
  <button
    class="govuk-button govuk-button--secondary gem-c-feedback__close gem-c-feedback__js-show js-close-form"
    data-track-category="Onsite Feedback"
    data-track-action="GOV.UK Close Form"
    aria-controls="something-is-wrong"
    aria-expanded="true">
    <%= t("components.feedback.close", default: "Close") %>
  </button>

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

      <input type="hidden" name="url" value="<%= url_without_pii %>">

      <h3 class="gem-c-feedback__form-heading"><%= t("components.feedback.help_us_improve_govuk", default: "Help us improve GOV.UK") %></h3>
      <p id="feedback_explanation" class="gem-c-feedback__form-paragraph"><%= t("components.feedback.dont_include_personal_info", default: "Don’t include personal or financial information like your National Insurance number or credit card details.") %></p>

      <%= render "govuk_publishing_components/components/input", {
        label: {
          text: t("components.feedback.what_doing", default: "What were you doing?")
        },
        name: "what_doing",
        describedby: "feedback_explanation"
      } %>

      <%= render "govuk_publishing_components/components/input", {
        label: {
          text: t("components.feedback.what_wrong", default: "What went wrong?")
        },
        name: "what_wrong"
      } %>

      <%= render "govuk_publishing_components/components/button", {
        text: t("components.feedback.send", default: "Send")
      } %>
    </div>
  </div>
</form>

Version data entries

65 entries across 65 versions & 1 rubygems

Version Path
govuk_publishing_components-24.11.1 app/views/govuk_publishing_components/components/feedback/_problem_form.html.erb
govuk_publishing_components-24.11.0 app/views/govuk_publishing_components/components/feedback/_problem_form.html.erb
govuk_publishing_components-24.10.3 app/views/govuk_publishing_components/components/feedback/_problem_form.html.erb
govuk_publishing_components-24.10.2 app/views/govuk_publishing_components/components/feedback/_problem_form.html.erb
govuk_publishing_components-24.10.1 app/views/govuk_publishing_components/components/feedback/_problem_form.html.erb
govuk_publishing_components-24.10.0 app/views/govuk_publishing_components/components/feedback/_problem_form.html.erb
govuk_publishing_components-24.9.4 app/views/govuk_publishing_components/components/feedback/_problem_form.html.erb
govuk_publishing_components-24.9.3 app/views/govuk_publishing_components/components/feedback/_problem_form.html.erb
govuk_publishing_components-24.9.2 app/views/govuk_publishing_components/components/feedback/_problem_form.html.erb
govuk_publishing_components-24.9.1 app/views/govuk_publishing_components/components/feedback/_problem_form.html.erb
govuk_publishing_components-24.9.0 app/views/govuk_publishing_components/components/feedback/_problem_form.html.erb
govuk_publishing_components-24.8.0 app/views/govuk_publishing_components/components/feedback/_problem_form.html.erb
govuk_publishing_components-24.7.1 app/views/govuk_publishing_components/components/feedback/_problem_form.html.erb
govuk_publishing_components-24.7.0 app/views/govuk_publishing_components/components/feedback/_problem_form.html.erb
govuk_publishing_components-24.6.1 app/views/govuk_publishing_components/components/feedback/_problem_form.html.erb
govuk_publishing_components-24.6.0 app/views/govuk_publishing_components/components/feedback/_problem_form.html.erb
govuk_publishing_components-24.5.0 app/views/govuk_publishing_components/components/feedback/_problem_form.html.erb
govuk_publishing_components-24.4.1 app/views/govuk_publishing_components/components/feedback/_problem_form.html.erb
govuk_publishing_components-24.4.0 app/views/govuk_publishing_components/components/feedback/_problem_form.html.erb
govuk_publishing_components-24.3.1 app/views/govuk_publishing_components/components/feedback/_problem_form.html.erb