summaryrefslogtreecommitdiffhomepage
path: root/modules/luci-base/luasrc/view/cbi/dynlist.htm
blob: fa7dbdb4189f54959e63ed7038c03f4cfc2dc685 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
<%+cbi/valueheader%>
<div<%=
	attr("data-prefix", cbid) ..
	attr("data-browser-path", self.default_path) ..
	attr("data-dynlist", luci.util.serialize_json({
		self.keylist, self.vallist,
		self.datatype, self.optional or self.rmempty
	})) ..
	attr("data-values", luci.util.serialize_json(self:cfgvalue(section))) ..
	ifattr(self.size, "data-size", self.size) ..
	ifattr(self.placeholder, "data-placeholder", self.placeholder)
%>></div>
<%+cbi/valuefooter%>