diff options
author | Steven Barth <steven@midlink.org> | 2008-08-14 11:50:00 +0000 |
---|---|---|
committer | Steven Barth <steven@midlink.org> | 2008-08-14 11:50:00 +0000 |
commit | 15f4fa76d5c468e7def2d3c38d148945ce980030 (patch) | |
tree | 5675278b6f313213b20cfc994bcd4e576b074824 /libs/cbi/luasrc/cbi.lua | |
parent | 568441a441c9889d4cb68ed6dc440190d67e5f6d (diff) |
libs/cbi: Added TextValue
Diffstat (limited to 'libs/cbi/luasrc/cbi.lua')
-rw-r--r-- | libs/cbi/luasrc/cbi.lua | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/libs/cbi/luasrc/cbi.lua b/libs/cbi/luasrc/cbi.lua index 024687c6fb..f7725c5348 100644 --- a/libs/cbi/luasrc/cbi.lua +++ b/libs/cbi/luasrc/cbi.lua @@ -876,3 +876,14 @@ function MultiValue.validate(self, val) return result end + +--[[ +TextValue - A multi-line value + rows: Rows +]]-- +TextValue = class(AbstractValue) + +function TextValue.__init__(self, ...) + AbstractValue.__init__(self, ...) + self.template = "cbi/tvalue" +end |