Skip to content

Commit

Permalink
Merge pull request #385 from alphagov/fix-feedback-headings
Browse files Browse the repository at this point in the history
Fix heading structure in feedback component
  • Loading branch information
andysellick authored Jun 25, 2018
2 parents 5a5161f + aedd3f7 commit cb1ad27
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<div class="gem-c-feedback <%= margin_top_class %>" data-module="feedback">
<div class="gem-c-feedback__prompt gem-c-feedback__js-show js-prompt" tabindex="-1">
<div class="js-prompt-questions">
<h3 class="gem-c-feedback__prompt-question">Is this page useful?</h3>
<h2 class="gem-c-feedback__prompt-question">Is this page useful?</h2>

<%= link_to contact_govuk_path, {
class: 'gem-c-feedback__prompt-link gem-c-feedback__prompt-link--useful js-page-is-useful',
Expand Down Expand Up @@ -72,7 +72,7 @@
<input type="hidden" name="url" value="<%= request.original_url -%>">
<input type="hidden" name="user_agent" value="<%= request.user_agent -%>">

<h2 class="gem-c-feedback__form-heading">Help us improve GOV.UK</h2>
<h3 class="gem-c-feedback__form-heading">Help us improve GOV.UK</h3>
<p id="feedback_explanation" class="gem-c-feedback__form-paragraph">Don’t include personal or financial information like your National Insurance number or credit card details.</p>

<%= render "govuk_publishing_components/components/input", {
Expand Down Expand Up @@ -121,7 +121,7 @@
<input name="email_survey_signup[survey_source]" type="hidden" value="<%= request.original_url -%>">
<input name="email_survey_signup[ga_client_id]" type="hidden" value="1627485790.1515403243">

<h2 class="gem-c-feedback__form-heading">Help us improve GOV.UK</h2>
<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", {
Expand Down

0 comments on commit cb1ad27

Please sign in to comment.