treewide: move server side CBI support to luci-compat
[project/luci.git] / modules / luci-compat / luasrc / view / cbi / tvalue.htm
1 <%+cbi/valueheader%>
2 <textarea class="cbi-input-textarea" <% if not self.size then %> style="width: 100%"<% else %> cols="<%=self.size%>"<% end %> data-update="change"<%= attr("name", cbid) .. attr("id", cbid) .. ifattr(self.rows, "rows") .. ifattr(self.wrap, "wrap") .. ifattr(self.readonly, "readonly") %>>
3 <%-=pcdata(self:cfgvalue(section) or self.default)-%>
4 </textarea>
5 <%+cbi/valuefooter%>