> class StandardCheckBox(CheckBox):
>       template = """
> <div xmlns:py="http://purl.org/kid/ns#";>
>       """ + CheckBox.template + """
>       <label class="caption" for="${field_id}">${caption}</label>
> </div>
> """
>       params = ["caption"]
>       caption = ""

I guess adding a py:if="caption" to the label would be useful to not output 
empty tags, but if you have no caption, you should be using normal 
checkboxes! ;)

 - Matthew

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"TurboGears" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/turbogears
-~----------~----~----~----~------~----~------~--~---

Reply via email to