form!
title "(e)SIM Details"

if @sims.empty?
	instructions "You have no (e)SIMs."
else
	field(
		var: "iccid",
		label: "(e)SIMs",
		type: "fixed",
		value: @sims.map(&:to_s)
	)
end

field(
	var: "http://jabber.org/protocol/commands#actions",
	label: "Action",
	type: "list-single",
	options: [
		{ label: "Done", value: "complete" },
		{ label: "Order new Physical SIM", value: "order-sim" },
		{ label: "Order new eSIM", value: "order-esim" }
	],
	value: "complete"
)
