Commit 04bc669d by Julia Hansbrough

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
parent 9f5bd4e6
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment