1form!
 2title "Setup Snikket Instance"
 3
 4instructions(
 5	"Phone number #{@tel} has been activated. " \
 6	"Now you will need a Jabber ID to associate with your new JMP account. " \
 7	"JMP has partnered with Snikket CIC to provide you with your very own " \
 8	"Snikket instance that will provide Jabber service to you and anyone you " \
 9	"invite.\n\n" \
10	"A Jabber ID is kind of like an email address, and looks similar too. " \
11	"People who contact you using your Jabber ID instead of your phone number " \
12	"will get additional features, such as video calling and end-to-end " \
13	"encryption.\n\n" \
14	"You will be prompted to choose a username after your instance is ready."
15)
16
17field(
18	label: "Choose a unique name for your Snikket instance",
19	var: "subdomain",
20	suffix: ".snikket.chat",
21	description: @error ||
22		"Your Jabber ID will be of the form username@instance-name.snikket.chat"
23)
24
25field(
26	label: "Action",
27	type: "list-single",
28	var: "http://jabber.org/protocol/commands#actions",
29	options: [
30		{ label: "Next", value: "next" },
31		{ label: "Use Your Own Domain Name", value: "custom_domain" }
32	]
33)