form!

title "Plan Settings"

instructions(
	"Your plan includes #{@customer.message_limit} and " \
	"#{@customer.minute_limit}.  JMP will always prompt for your explicit " \
	"consent before allowing any action which would incur more overage in a " \
	"calendar month than your configured limit below."
)

field(
	var: "monthly_overage_limit",
	type: "text-single",
	datatype: "xs:integer",
	label: "Dollars of overage to allow each month",
	description:
		"0 means you will never be automatically charged more " \
		"than your monthly fee",
	value: @customer.monthly_overage_limit.to_s
)
