plan_settings.rb

 1form!
 2
 3title "Plan Settings"
 4
 5instructions(
 6	"Your plan includes #{@customer.message_limit} and " \
 7	"#{@customer.minute_limit}.  JMP will always prompt for your explicit " \
 8	"consent before allowing any action which would incur more overage in a " \
 9	"calendar month than your configured limit below.\n\n" \
10	"JMP is not yet billing for overages, but will be soon."
11)
12
13field(
14	var: "monthly_overage_limit",
15	type: "text-single",
16	datatype: "xs:integer",
17	label: "Dollars of overage to allow each month",
18	description:
19		"0 means you will never be automatically charged more " \
20		"than your monthly fee",
21	value: @customer.monthly_overage_limit.to_s
22)