Skip to content

Commit

Permalink
PC-607: make ticked checkboxes persist
Browse files Browse the repository at this point in the history
  • Loading branch information
samyou-softwire committed Jan 23, 2024
1 parent 035113c commit 45f4efc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions help_to_heat/templates/frontdoor/confirm-and-submit.html
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ <h1 class="govuk-heading-l">{{_("Confirm and submit")}}</h1>
</p>
{% endif %}
<div class="govuk-checkboxes__item">
<input class="govuk-checkboxes__input" id="question-permission" name="permission" type="checkbox"/>
<input class="govuk-checkboxes__input" id="question-permission" name="permission" type="checkbox" {% if data.get('permission') == 'on' %}checked{% endif %}/>
<label class="govuk-label govuk-checkboxes__label" for="question-permission" id="question-permission-label">
{{_("I agree for my personal details to be shared with %(supplier)s to contact me about my referral. I agree that they may share my personal details with their approved delivery partners and installers to check my eligibility, my property's suitability, and to contact me.")% { "supplier": supplier }}}
<br>
Expand All @@ -32,7 +32,7 @@ <h1 class="govuk-heading-l">{{_("Confirm and submit")}}</h1>
</p>
{% endif %}
<div class="govuk-checkboxes__item">
<input class="govuk-checkboxes__input" id="question-acknowledge" name="acknowledge" type="checkbox"/>
<input class="govuk-checkboxes__input" id="question-acknowledge" name="acknowledge" type="checkbox" {% if data.get('acknowledge') == 'on' %}checked{% endif %}/>
<label class="govuk-label govuk-checkboxes__label" for="question-acknowledge" id="question-acknowledge-label">
{{ _("I acknowledge that the information I have provided indicates I may be eligible for support. However, I understand that my referral will be subject to further checks before %(supplier)s can determine which, if any, insulation measures are appropriate.")% { "supplier": supplier }}}
</label>
Expand Down

0 comments on commit 45f4efc

Please sign in to comment.