Files
notifications-admin/app/templates/views/providers/edit-sms-provider-ratio.html
Ben Thorner 7f333ba5fe Rewrite SMS ratio form to cope with 3 providers
This replaces the slider with an integer input for each provider.
Unfortunately showing a variable number of inputs isn't easy to
achieve in WTForms [^1], but we think this is the least worst way
to do it vs e.g. not using WTForms at all.

[^1]: https://github.com/wtforms/wtforms/issues/736
2022-04-07 14:05:00 +01:00

26 lines
671 B
HTML

{% extends "views/platform-admin/_base_template.html" %}
{% from "components/page-header.html" import page_header %}
{% from "components/page-footer.html" import page_footer %}
{% from "components/form.html" import form_wrapper %}
{% block per_page_title %}
Edit SMS provider priorities
{% endblock %}
{% block platform_admin_content %}
{{ page_header('Edit SMS provider priorities') }}
<p class="govuk-body">
If you change one priority you will need to change the others so they add up to 100%.
</p>
{% call form_wrapper() %}
{% for field in form %}
{{ field }}
{% endfor %}
{{ page_footer('Save') }}
{% endcall %}
{% endblock %}