mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-09-04 01:28:25 -04:00
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.
26 lines
786 B
HTML
26 lines
786 B
HTML
{% extends "withnav_template.html" %}
|
|
{% from "components/form.html" import form_wrapper %}
|
|
{% from "components/button/macro.njk" import govukButton %}
|
|
|
|
{% block service_page_title %}
|
|
Preview email branding
|
|
{% endblock %}
|
|
|
|
{% block maincolumn_content %}
|
|
|
|
<h1 class="heading-large">Preview email branding</h1>
|
|
<div class="grid-row">
|
|
<div class="column-full">
|
|
<iframe src="{{ url_for('main.email_template', branding_style=form.branding_style.data) }}" class="branding-preview"></iframe>
|
|
{% call form_wrapper(action=action) %}
|
|
<div class="form-group">
|
|
{{ form.hidden_tag() }}
|
|
<div class="page-footer">
|
|
{{ govukButton({ "text": "Save" }) }}
|
|
</div>
|
|
</div>
|
|
{% endcall %}
|
|
</div>
|
|
</div>
|
|
{% endblock %}
|