Merge pull request #1234 from alphagov/letter-branding

Add platform admin setting for letter branding
This commit is contained in:
Chris Hill-Scott
2017-04-24 10:33:39 +01:00
committed by GitHub
11 changed files with 194 additions and 17 deletions

View File

@@ -103,6 +103,11 @@
{% endcall %}
{{ edit_field('Change', url_for('.service_set_branding_and_org', service_id=current_service.id)) }}
{% endcall %}
{% call row() %}
{{ text_field('Letter branding')}}
{{ text_field(letter_branding) }}
{{ edit_field('Change', url_for('.set_letter_branding', service_id=current_service.id)) }}
{% endcall %}
{% endcall %}
<ul>

View File

@@ -0,0 +1,25 @@
{% extends "withnav_template.html" %}
{% from "components/radios.html" import radios, branding_radios %}
{% from "components/page-footer.html" import page_footer %}
{% block service_page_title %}
Set letter branding
{% endblock %}
{% block maincolumn_content %}
<h1 class="heading-large">Set letter branding</h1>
<div class="grid-row">
<div class="column-three-quarters">
<form method="post">
{{ radios(form.dvla_org_id) }}
{{ page_footer(
'Save',
back_link=url_for('.service_settings', service_id=current_service.id),
back_link_text='Back to settings'
) }}
</form>
</div>
</div>
{% endblock %}