mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-08-19 05:59:44 -04:00
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
26 lines
671 B
HTML
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 %}
|