You should use a template. Look at templetor documentation. On Thu, Jan 6, 2011 at 9:37 PM, Dexter <[email protected]> wrote: >> Does it show you the >> >> <button type="submit">Create</button> >> >> when it's rendered? >> > Yes it does > >> It should work like this: >> >> http://jsfiddle.net/6Pd9F/ >> >> Also, you _must_ enclose the rendered form in <form> tags yourself as >> those are not rendered for you. > > That sorted it out > > print '<form name="main" method="post">' > return ProjectInput.render() > print '</form>' > > but that shows Status: 200 OK at the top of the page do I need to add > some more HTML tags > > -- > 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. > >
-- Branko Vukelic [email protected] http://www.brankovukelic.com/ -- 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.
