2018-05-18 14:05:48 +01:00
|
|
|
|
{% extends "withnav_template.html" %}
|
|
|
|
|
|
{% from "components/radios.html" import radio %}
|
|
|
|
|
|
{% from "components/textbox.html" import textbox %}
|
|
|
|
|
|
{% from "components/page-footer.html" import page_footer %}
|
2018-09-19 12:39:36 +01:00
|
|
|
|
{% from "components/form.html" import form_wrapper %}
|
2018-05-18 14:05:48 +01:00
|
|
|
|
|
|
|
|
|
|
{% block service_page_title %}
|
|
|
|
|
|
Email branding
|
|
|
|
|
|
{% endblock %}
|
|
|
|
|
|
|
|
|
|
|
|
{% block maincolumn_content %}
|
|
|
|
|
|
|
|
|
|
|
|
<h1 class="heading-large">Email branding</h1>
|
|
|
|
|
|
|
2018-09-19 12:39:36 +01:00
|
|
|
|
{% call form_wrapper() %}
|
2018-05-18 14:05:48 +01:00
|
|
|
|
<fieldset class="form-group {% if form.options.errors %}form-group-error{% endif %} top-gutter">
|
|
|
|
|
|
<legend class="bottom-gutter-2-3">
|
|
|
|
|
|
Choose the branding you’d like on your emails.
|
|
|
|
|
|
</legend>
|
|
|
|
|
|
{% if form.options.errors %}
|
|
|
|
|
|
<span class="error-message" data-module="track-error" data-error-type="Can’t be empty" data-error-label="{{ form.options.name }}">
|
|
|
|
|
|
You need to choose an option
|
|
|
|
|
|
</span>
|
|
|
|
|
|
{% endif %}
|
|
|
|
|
|
<div class="grid-row">
|
|
|
|
|
|
{% for option in form.options %}
|
|
|
|
|
|
<div class="column-one-quarter">
|
|
|
|
|
|
<label for="{{ option.id }}">
|
|
|
|
|
|
<img src="/static/images/branding-options/{{ option.data }}.png" alt="" class="bordered-image bottom-gutter-1-3">
|
|
|
|
|
|
</label>
|
|
|
|
|
|
{{ radio(option) }}
|
|
|
|
|
|
</div>
|
|
|
|
|
|
{% endfor %}
|
|
|
|
|
|
</div>
|
|
|
|
|
|
</fieldset>
|
|
|
|
|
|
<p class="form-group">
|
|
|
|
|
|
We’ll email you once your branding’s ready to use, or if we need any
|
|
|
|
|
|
more info.
|
|
|
|
|
|
</p>
|
|
|
|
|
|
{{ page_footer(
|
|
|
|
|
|
'Request new branding',
|
|
|
|
|
|
destructive=destructive,
|
|
|
|
|
|
back_link=url_for('.service_settings', service_id=current_service.id)
|
|
|
|
|
|
) }}
|
2018-09-19 12:39:36 +01:00
|
|
|
|
{% endcall %}
|
2018-05-18 14:05:48 +01:00
|
|
|
|
|
|
|
|
|
|
{% endblock %}
|