summaryrefslogtreecommitdiffhomepage
path: root/modules/luci-compat/luasrc/view/cbi/tvalue.htm
blob: f3b12bd09472f6b853d4e3d7ee97c3f3a61d6698 (plain)
1
2
3
4
5
<%+cbi/valueheader%>
	<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") %>>
	<%-=pcdata(self:cfgvalue(section) or self.default)-%>
	</textarea>
<%+cbi/valuefooter%>