Skip to content

Commit

Permalink
Comment out the Search V2 feedback form (#427)
Browse files Browse the repository at this point in the history
  • Loading branch information
CamLamb authored Aug 14, 2023
1 parent d06cf4b commit b38ed2b
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions src/search/templates/search/partials/search_results.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,15 @@
{% if search_query %}
<div id="search-feedback"">
<h1 class="govuk-heading-m">Search results for “{{ search_query }}”</h1>
{% comment %}
<div class="search-feedback-header govuk-!-padding-1 govuk-!-padding-left-2 govuk-!-margin-bottom-4">
<div class="govuk-body-s govuk-body--inverse govuk-!-margin-bottom-0 govuk-!-margin-right-2">
Are these results useful?
</div>
<button class="govuk-button govuk-button--secondary govuk-!-margin-bottom-0 govuk-!-margin-left-1"
onclick="pageWasUseful();">Yes</button>
<button class="govuk-button govuk-button--secondary govuk-!-margin-bottom-0 govuk-!-margin-left-1"
onclick="pageWasNotUseful();">No</button>
<button class="govuk-button govuk-button--secondary govuk-!-margin-bottom-0 govuk-!-margin-left-1" onclick="pageWasUseful();">Yes</button>
<button class="govuk-button govuk-button--secondary govuk-!-margin-bottom-0 govuk-!-margin-left-1" onclick="pageWasNotUseful();">No</button>
</div>
{% endcomment %}
</div>
{% else %}
<h1 class="govuk-heading-m">Start typing to search</h1>
Expand All @@ -26,7 +26,7 @@ <h1 class="govuk-heading-m">Start typing to search</h1>
{% include 'search/partials/search_results_single_category.html' %}
{% endif %}
</div>

{% comment %}
<dialog id="search-feedback-dialog">
{% feedback_submit form_id="search-v2" initial=search_feedback_initial %}
<script>
Expand Down Expand Up @@ -102,5 +102,6 @@ <h1 class="govuk-heading-m">Start typing to search</h1>
dialog.close();
});
}
</script>
</script>
</dialog>
{% endcomment %}

0 comments on commit b38ed2b

Please sign in to comment.