Port the campaign management page to auto.

Also fixes the oversight in the previous commit where float options were
not saved when changed.
This commit is contained in:
Dan Albert
2021-10-21 19:15:47 -07:00
parent 7bec4c62f7
commit a618f00662
9 changed files with 212 additions and 229 deletions

View File

@@ -15,6 +15,7 @@ def bounded_float_option(
text: str,
page: str,
section: str,
default: float,
min: float,
max: float,
divisor: int,
@@ -27,5 +28,6 @@ def bounded_float_option(
page, section, text, detail, min, max, divisor
)
},
default=default,
**kwargs,
)