mirror of
https://github.com/we-promise/sure.git
synced 2026-04-19 12:04:08 +00:00
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:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user