Fixed bug LMS-1117
When registering for an verified certificate, if you selected a suggested price option, closed the browser halfway through the steps, and re-opened, the contribution would be written in the text input field instead of preselecting the appropriate radio button. This commit fixes that behavior
This commit is contained in:
@@ -52,7 +52,7 @@ class ChooseModeView(View):
|
||||
"error": error,
|
||||
}
|
||||
if "verified" in modes:
|
||||
context["suggested_prices"] = modes["verified"].suggested_prices.split(",")
|
||||
context["suggested_prices"] = [decimal.Decimal(x) for x in modes["verified"].suggested_prices.split(",")]
|
||||
context["currency"] = modes["verified"].currency.upper()
|
||||
context["min_price"] = modes["verified"].min_price
|
||||
|
||||
|
||||
Reference in New Issue
Block a user