~singpolyma/sgx-jmp

ref: 67609fee446efdbf8875997407d432d304d8e79a sgx-jmp/forms/admin_menu.rb -rw-r--r-- 417 bytes
67609feeChristopher Vollick Undo and Undoable Command Harness 7 months ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
form!
title "Menu"

field(
	var: "action",
	type: "list-single",
	open: true,
	label: "Pick an action",
	description: "or put a new customer info",
	options: [
		{ value: "info", label: "Customer Info" },
		{ value: "financial", label: "Customer Billing Information" },
		{ value: "bill_plan", label: "Bill Customer" },
		{ value: "cancel_account", label: "Cancel Customer" },
		{ value: "undo", label: "Undo" }
	]
)