Skip to content

Commit

Permalink
Remove .question-heading-with-hint
Browse files Browse the repository at this point in the history
This class is no longer targeted by any specific CSS rule,
so we're free to ditch it.
  • Loading branch information
pcraig3 committed Feb 15, 2017
1 parent 8fbea0f commit 1cdb247
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion pages_builder/pages/forms/single-question-page.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ examples:
<input type="hidden" name="csrf_token" value="##fa3c0dda184bfbb021bac53fd569ca3d077997b8">
<div class="question" id="duns_number">
<label for="input-duns_number">
<span class="question-heading-with-hint">DUNS number</span>
<span class="question-heading">DUNS number</span>
</label>
<span class="question-advice" id="input-duns_number-question-advice">
<p>The Digital Marketplace uses your head office’s 9‑digit DUNS number to see if you’re already a supplier on the G‑Cloud framework.</p>
Expand Down
2 changes: 1 addition & 1 deletion spec/javascripts/unit/ListEntrySpec.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ describe("ListEntryField", function () {
),
wrapperHTML = (
'<fieldset class="question" id="features">' +
'<legend class="question-heading question-heading-with-hint ">Service features</legend>' +
'<legend class="question-heading">Service features</legend>' +
'<p class="question-hint">Include the technical features of your product, eg graphical workflow, remote access. (Maximum 10 words per feature. Maximum 10 features.)</p>' +
'<div class="input-list" data-list-item-name="feature" id="list-entry-features">' +
'</div>' +
Expand Down
2 changes: 1 addition & 1 deletion toolkit/templates/forms/list-entry.html
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
{% endif %}
<fieldset class="question {% if first_question %}first-question{% endif %}" id="{{ id }}">
<legend>
<span class="question-heading {% if hint or question_advice %}question-heading-with-hint{% endif %}">
<span class="question-heading">
{% if question_number %}
<span class="question-number">
{{ question_number }}
Expand Down
2 changes: 1 addition & 1 deletion toolkit/templates/forms/pricing.html
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@
{% else %}
<fieldset class="question first-question" id="{{ name }}">
<legend>
<span class="question-heading{% if hint or question_advice %} question-heading-with-hint{% endif %}">
<span class="question-heading">
{{ question }}
</span>
{% if error %}
Expand Down
2 changes: 1 addition & 1 deletion toolkit/templates/forms/selection-buttons.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
{% endif %}
<fieldset class="question first-question{% if inline or type=='boolean' %} inline{% endif %}" id="{{ name }}">
<legend>
<span class="question-heading{% if hint or question_advice %} question-heading-with-hint{% endif %}">
<span class="question-heading{% if hint_underneath %} question-heading-with-hint-underneath{% endif %}">
{% if question_number %}
<span class="question-number">
{{ question_number }}
Expand Down
2 changes: 1 addition & 1 deletion toolkit/templates/forms/textbox.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
{% endif %}
<div class="question{% if hidden %} js-hidden{% endif %}{% if hidden is defined %} related-information{% endif %}" id="{{ name }}">
<label for="input-{{ name }}">
<span class="question-heading{% if hint or question_advice %}-with-hint{% endif %}">
<span class="question-heading">
{% if question_number %}
<span class="question-number">
{{ question_number }}
Expand Down
2 changes: 1 addition & 1 deletion toolkit/templates/forms/upload.html
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
<div class="question" id="{{ name }}">
<label for="input-{{ name }}">
{% if question %}
<span class="question-heading{% if hint or question_advice %}-with-hint{% endif %}">
<span class="question-heading">
{% if question_number %}
<span class="question-number">
{{ question_number }}
Expand Down

0 comments on commit 1cdb247

Please sign in to comment.