I'm experimenting with quixote form.
 
If i want to change the layout of the widgets,
for example. I want to display 3 single checkbox, not vertically display but horizontally display.
 
I checked the source code of render,
    def render(self):
        r = TemplateIO(html=True)
        classnames = '%s widget' % self.__class__.__name__
        r += htmltext('<div class="%s">') % classnames
        r += self.render_title (self.get_title())
        r += htmltext('<div class="content">')
        r += self.render_content()
        r += self.render_hint(self.get_hint())
        r += self.render_error(self.get_error ())
        r += htmltext('</div>')
        r += htmltext('</div>')
        if self.render_br:
            r += htmltext('<br class="%s" />') % classnames
        r += htmltext('\n')
        return r.getvalue()

Do I need to subclass and override the render(),render_content()
 to what ever I want?
or there is a way to do it wither overriding render()?
 
thanks a lot for all the help I got from this list!
Tom
 
 
_______________________________________________
Quixote-users mailing list
[email protected]
http://mail.mems-exchange.org/mailman/listinfo/quixote-users

Reply via email to