form!
title "Setup Snikket Instance"

instructions(
	"Phone number #{@tel} has been activated. " \
	"Now you will need a Jabber ID to associate with your new JMP account. " \
	"JMP has partnered with Snikket CIC to provide you with your very own " \
	"Snikket instance that will provide Jabber service to you and anyone you " \
	"invite.\n\n" \
	"A Jabber ID is kind of like an email address, and looks similar too. " \
	"People who contact you using your Jabber ID instead of your phone number " \
	"will get additional features, such as video calling and end-to-end " \
	"encryption.\n\n" \
	"You will be prompted to choose a username after your instance is ready."
)

field(
	label: "Domain (or subdomain) name",
	var: "domain",
	description: @error ||
		"Your Jabber ID will be of the form username@domain"
)
