~singpolyma/sgx-jmp

ref: 8dd92b96258d14d431e9966d0534631c7fdc0214 sgx-jmp/forms/customer_picker.rb -rw-r--r-- 354 bytes
8dd92b96Stephen Paul Weber Merge branch 'admin-actions' 5 months ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
form!
title "Pick Customer"

instructions(
	"Tell us something about the customer and we'll try to get more " \
	"information for you"
)

if @notice
	field(
		type: "fixed",
		value: @notice
	)
end

field(
	var: "q",
	type: "text-single",
	label: "Something about the customer",
	description: "Supported things include: customer ID, JID, phone number"
)