I think that maybe Form should have a "render_css" or something like
it added that wraps the label in a <div class="form_label"> and the
input in a <div class="form_input">.  This would let you do almost
anything in terms of layout, and not require weird styles on inputs
(which can be weird, especially if you're working with IE).

More advanced cases shouldn't need a separate template -- you can
always subclass Form and override the render method.


On Nov 6, 3:39 pm, yejun <[EMAIL PROTECTED]> wrote:
> You still can use validation and individual form input's render
> function.
>
> On Nov 6, 11:23 am, Elliott Hird <[EMAIL PROTECTED]>
> wrote:
>
> > On Nov 6, 3:51 pm, yejun <[EMAIL PROTECTED]> wrote:
>
> > > Then why you need form.py? You can always use templates to output form
> > > directly.
>
> > the validation
> > the convenient handling
> > etc
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"web.py" 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/webpy?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to