0
0
mirror of https://github.com/openwrt/luci.git synced 2025-02-23 14:46:18 +00:00
Jo-Philipp Wich d5dff8f9a5 treewide: move server side CBI support to luci-compat
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2019-11-03 20:49:31 +01:00

15 lines
368 B
HTML

<%+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%>