summaryrefslogtreecommitdiffhomepage
path: root/modules/luci-base/luasrc/view/cbi/lvalue.htm
blob: 28141472f45593fc2ec3dc31e16e34b630326bea (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
<%+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,
		widget = self.widget,
		datatype = self.datatype,
		optional = self.optional,
		placeholder = self.placeholder
	}
}))%>></div>
<%+cbi/valuefooter%>