Tidy up inconsistencies in forms

Wherever possible, use the macros.
This commit is contained in:
Chris Hill-Scott
2016-02-01 16:40:04 +00:00
parent b5b13254c7
commit 9cf6dfa6f2
7 changed files with 32 additions and 29 deletions

View File

@@ -14,11 +14,13 @@ GOV.UK Notify | Text verification
<p>We've sent you a text message with a verification code.</p>
<form autocomplete="off" method="post">
{{ textbox(form.sms_code) }}
<span class="font-xsmall"><a href="{{ url_for('.verification_code_not_received') }}">I haven't received a text</a></span>
{{ page_footer("Continue") }}
{{ page_footer(
"Continue",
back_link=url_for('.verification_code_not_received'),
back_link_text='I havent received a text'
) }}
</form>
</div>
</div>