It's {{=form}}, not {{form}}.

Anthony

On Saturday, March 16, 2013 9:00:22 AM UTC-4, 黄祥 wrote:
>
> i'm just trying the code myself but seems the result is not expected (no 
> errors occured)
> e.g.
> *db.py*
> db.define_table('company',
>     Field('company'))
>
> *default.py*
> def index():
>     inputs = []
>     for i in range(0,10):
>         inputs.append(db.company.company.clone(name='%s_%s' % (
> db.company.company.name, i)))
>     form = SQLFORM.factory(*inputs)
>     return dict(form=form)
>
> *index.html*
> {{extend 'layout.html'}}
> {{form}}
>
> when i view source and inspect elements there is no form html tag in it, 
> is there something i missed?
> thank you
>

-- 

--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to