mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-08-25 00:33:58 -04:00
Add a form to set priority of top 2 providers
Their priority should always add up to 100%. Currently we have to ensure this by hand. Adding this form means there’s no way to not set their combined priorities to 100%. And it’s a bit more of an intuitive UI than two textboxes on separate pages.
This commit is contained in:
@@ -6,9 +6,10 @@
|
||||
secondary_link=False,
|
||||
secondary_link_text=None,
|
||||
delete_link=False,
|
||||
delete_link_text="delete"
|
||||
delete_link_text="delete",
|
||||
centered_button=False
|
||||
) %}
|
||||
<div class="page-footer">
|
||||
<div class="page-footer {% if centered_button %}page-footer-centered-button{% endif %}">
|
||||
{% if button_text %}
|
||||
<input type="hidden" name="csrf_token" value="{{ csrf_token() }}" />
|
||||
<button
|
||||
|
||||
Reference in New Issue
Block a user