summaryrefslogtreecommitdiffhomepage
path: root/libs/web/luasrc/view/cbi/browser.htm
blob: e4a4077d55bb9317aa79365104a49aedfd616516 (plain)
1
2
3
4
5
6
7
<% local v = self:cfgvalue(section) -%>
<%+cbi/valueheader%>
	<input class="cbi-input-text" type="text"<%= attr("value", v) .. attr("name", cbid) .. attr("id", cbid) %> />
	<script type="text/javascript">
cbi_browser_init('<%=cbid%>', '<%=resource%>', '<%=luci.dispatcher.build_url("admin", "filebrowser")%>'<%=self.default_path and ", '"..self.default_path.."'"%>);
	</script>
<%+cbi/valuefooter%>