~singpolyma/sgx-jmp

ref: aa3117a59797562156d6a502c0fb4e310cef8367 sgx-jmp/forms/registration/activate.rb -rw-r--r-- 912 bytes
aa3117a5Stephen Paul Weber Merge branch 'whitelist' 5 months ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
form!
title "Activate JMP"

center = " (#{@rate_center})" if @rate_center
instructions <<~I
	You've selected #{@tel}#{center} as your JMP number.
	To activate your account, you can either deposit $#{CONFIG[:activation_amount]} to your balance or enter your invite code if you have one.
	(If you'd like to pay in a cryptocurrency other than Bitcoin, currently we recommend using a service like simpleswap.io, morphtoken.com, changenow.io, or godex.io. Manual payment via Bitcoin Cash is also available if you contact support.)
I

field(
	var: "activation_method",
	type: "list-single",
	label: "Activate using",
	required: true,
	options: [
		{
			value: "credit_card",
			label: "Credit Card"
		},
		{
			value: "bitcoin",
			label: "Bitcoin"
		},
		{
			value: "code",
			label: "Invite Code"
		},
		{
			value: "mail",
			label: "Mail or eTransfer"
		}
	]
)

instance_eval File.read("#{__dir__}/plan_name.rb")