1form!
 2title "Buy Account Credit"
 3
 4instructions(
 5	"Besides credit cards, we support payment by Bitcoin, postal mail, " \
 6	"or in Canada by Interac e-Transfer."
 7)
 8
 9field(
10	type: "fixed",
11	value: "Current balance: $#{'%.4f' % @balance}"
12)
13
14render "alt_top_up/mailing_address"
15render "alt_top_up/interac" if @currency == :CAD
16render "alt_top_up/btc_addresses"
17render "alt_top_up/bch_addresses"
18
19field(
20	var: "http://jabber.org/protocol/commands#actions",
21	label: "Action",
22	type: "list-single",
23	options: [
24		{ label: "Done", value: "complete" },
25		{ label: "Add new Bitcoin address", value: "BTC" },
26		{ label: "Add new Bitcoin Cash address", value: "BCH" },
27		{ label: "Get single-use Monero address", value: "XMR" },
28		{ label: "Get single-use Ethereum address", value: "ETH" }
29	],
30	value: "complete"
31)