Add error handling for vehicle and property account creation (#1179)

* add error handling for vehicle and property account creation

* Add required true for money_field

* Remove rescue in controllers
This commit is contained in:
Tony Vincent
2024-09-17 16:37:09 +02:00
committed by GitHub
parent aa6d755402
commit e06f0c76f9
4 changed files with 5 additions and 6 deletions

View File

@@ -34,7 +34,8 @@ module FormsHelper
default_currency: options[:default_currency] || "USD",
disable_currency: options[:disable_currency] || false,
hide_currency: options[:hide_currency] || false,
label: options[:label] || "Amount"
label: options[:label] || "Amount",
required: options[:required] || false
}
end