mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-09-09 17:45:32 -04:00
Replace straightforward buttons and links styled like buttons
This replaces the buttons that aren't part of a macro and that we don't need to write additional styles for with their govuk-frontend equivalent. There were some links that were styled to look like buttons, so these have also been replaced with the new govuk-frontend macro. There was one button on the `choose-account.html` template that was in a section of code that was never reached - this has been deleted.
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
{% extends "withoutnav_template.html" %}
|
||||
{% from "components/page-footer.html" import page_footer %}
|
||||
{% from "components/button/macro.njk" import govukButton %}
|
||||
|
||||
{% block per_page_title %}
|
||||
Resend email link
|
||||
@@ -15,10 +15,14 @@
|
||||
<p> If you no longer have access to the email address you registered for this service, speak to your service manager to reset the email.</p>
|
||||
|
||||
<p>
|
||||
<a class="button" href="{{url_for('main.resend_email_link')}}" role="button">Resend email link</a>
|
||||
</p>
|
||||
{{ govukButton({
|
||||
"element": "a",
|
||||
"text": "Resend email link",
|
||||
"href": url_for('main.resend_email_link')
|
||||
}) }}
|
||||
</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{% endblock %}
|
||||
{% endblock %}
|
||||
|
||||
Reference in New Issue
Block a user