Form is visible in html/text added for clarification on validation

This commit is contained in:
Andrew Shumway
2023-06-14 09:42:22 -06:00
parent 63a97b9780
commit 1b5de90657
4 changed files with 13 additions and 20 deletions

View File

@@ -3,23 +3,19 @@
{% from "components/page-footer.html" import page_footer %}
{% block per_page_title %}
Sign in
Click below to complete email re-verification and finish signing in.
{% endblock %}
{% block maincolumn_content %}
<div class="js-hidden">
<div>
{{ page_header('Sign in') }}
<h1 class="font-body-2xl margin-bottom-3">Click below to complete email re-verification and finish signing in.</h1>
<form method="post" id="use-email-auth">
{{ page_footer('Continue to dashboard') }}
{{ page_footer('Verify email') }}
</form>
</div>
<script type="text/javascript">
document.getElementById("use-email-auth").submit();
</script>
{% endblock %}

View File

@@ -2,14 +2,14 @@
{% from "components/page-footer.html" import page_footer %}
{% block per_page_title %}
Invalid email link
This link has expired
{% endblock %}
{% block maincolumn_content %}
<div class="govuk-grid-row">
<div class="govuk-grid-column-two-thirds">
<h1 class="font-body-2xl margin-bottom-3">The link has expired</h1>
<h1 class="font-body-2xl margin-bottom-3">This link has expired</h1>
<p>
<a class="govuk-link govuk-link--no-visited-state" href="{{ url_for('main.sign_in', next=redirect_url) }}">

View File

@@ -11,7 +11,7 @@
<div class="govuk-grid-column-two-thirds">
<h1 class="font-body-2xl margin-bottom-3">{{ title }}</h1>
<p>For security, we need to check if you still have access to your email address.</p>
<p>Weve sent you a link to sign in to Notify. The link will open in a new browser window, so you can close this one.</p>
<p>Weve sent you a link valid for 1 hour to sign in to Notify. The link will open in a new browser window, so you can close this one.</p>
{{ page_footer(
secondary_link=url_for('main.email_not_received', next=redirect_url),