diff options
| author | viega | 1998-05-30 06:06:53 +0000 |
|---|---|---|
| committer | viega | 1998-05-30 06:06:53 +0000 |
| commit | 4cf754ca57ef2e904082e105fcd4b78f97ed00a9 (patch) | |
| tree | a81db0267323e4200988d828cf3d83e206d06ce5 /Mailman/htmlformat.py | |
| parent | bc98003ed7879c4bf32735750c2a1adf88fbe3d3 (diff) | |
| download | mailman-4cf754ca57ef2e904082e105fcd4b78f97ed00a9.tar.gz mailman-4cf754ca57ef2e904082e105fcd4b78f97ed00a9.tar.zst mailman-4cf754ca57ef2e904082e105fcd4b78f97ed00a9.zip | |
Diffstat (limited to 'Mailman/htmlformat.py')
| -rw-r--r-- | Mailman/htmlformat.py | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/Mailman/htmlformat.py b/Mailman/htmlformat.py index 587bb1a0a..ddb6ac229 100644 --- a/Mailman/htmlformat.py +++ b/Mailman/htmlformat.py @@ -20,7 +20,7 @@ Encapsulate HTML formatting directives in classes that act as containers for python and, recursively, for nested HTML formatting objects.""" -__version__ = "$Revision: 547 $" +__version__ = "$Revision: 635 $" # Eventually could abstract down to HtmlItem, which outputs an arbitrary html # object given start / end tags, valid options, and a value. @@ -406,6 +406,11 @@ class RadioButton(InputObj): def __init__(self, name, value, checked=0, **kws): apply(InputObj.__init__, (self, name, 'RADIO', value, checked), kws) +class CheckBox(InputObj): + def __init__(self, name, value, checked=0, **kws): + apply(InputObj.__init__, (self, name, "CHECKBOX", value, checked), kws) + + class VerticalSpacer: def __init__(self, size=10): |
