~singpolyma/sgx-jmp

sgx-jmp/forms/registration/activate.rb -rw-r--r-- 921 bytes
da80d0c7Stephen Paul Weber Throttle notification processing to prevent starvation 18 days 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 Interac e-Transfer"
		}
	]
)

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