mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-07-18 13:39:57 -04:00
Make SMS provider inputs easier to interpret
In response to: [^1]. [^1]: https://github.com/alphagov/notifications-admin/pull/4205#discussion_r847204574
This commit is contained in:
@@ -1749,10 +1749,13 @@ class AdminProviderRatioForm(Form):
|
||||
(
|
||||
provider['identifier'],
|
||||
GovukIntegerField(
|
||||
provider['display_name'],
|
||||
f"{provider['display_name']} (%)",
|
||||
validators=[validators.NumberRange(
|
||||
min=0, max=100, message="Must be between 0 and 100"
|
||||
)]
|
||||
)],
|
||||
param_extensions={
|
||||
'classes': "govuk-input--width-3",
|
||||
}
|
||||
)
|
||||
) for provider in providers
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user