summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJames Vasile <james@jamesvasile.com>2013-02-12 12:28:47 -0500
committerJames Vasile <james@jamesvasile.com>2013-02-12 12:28:47 -0500
commit939753c892cf1730c6479602341eda59c48e89c8 (patch)
tree526193a7224ebcf1369a7ffa45229b11c2e41ab9
parentbf0b3c28abeef86ea1324c775cda30eddbb0313f (diff)
add text hidden type
-rw-r--r--modules/installed/lib/forms.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/modules/installed/lib/forms.py b/modules/installed/lib/forms.py
index a45e26c..2be810f 100644
--- a/modules/installed/lib/forms.py
+++ b/modules/installed/lib/forms.py
@@ -88,6 +88,8 @@ class Form():
<span>%s</span>
<input type="%s" class="inputtext" name="%s" id="%s" value="%s" size="%s"/>
</label>""" % (label, type, name, id, value, size)
+ def hidden(self, name=None, id=None, value=''):
+ self.text_input(type="hidden", name=name, id=id, value=value)
def text_box(self, label='', name=None, id=None, value=""):
name, id = self.name_or_id(name, id)
self.text += """