summaryrefslogtreecommitdiffhomepage
path: root/modules/luci-base/luasrc/view/cbi/mvalue.htm
blob: d1fb8036783a5f41ce06785676ff4fde5a554d5d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
<%+cbi/valueheader%>
<div<%=attr("data-ui-widget", luci.util.serialize_json({
	"Select", self:cfgvalue(section) or self.default, self:choices(), {
		id = cbid,
		name = cbid,
		size = self.size,
		sort = self.keylist,
		multi = true,
		widget = self.widget,
		datatype = self.datatype,
		optional = self.optional or self.rmempty,
		readonly = self.readonly,
		placeholder = self.placeholder
	}
}))%>></div>
<%+cbi/valuefooter%>