Thanks viniciusban, request.vars.id did the trick.
On Friday, December 6, 2013 11:16:04 AM UTC-5, viniciusban wrote:
>
> You are sending vars to certificate and using args to retrieve the record.
>
> That's your problem.
>
> On Fri, Dec 6, 2013 at 2:10 PM, raferbop >
> wrote:
> >
> >
> >
You are sending vars to certificate and using args to retrieve the record.
That's your problem.
On Fri, Dec 6, 2013 at 2:10 PM, raferbop wrote:
>
>
> # View - country.html
>
> {{for people in country:}}
>
> Birth
> Certificate
>
> {{=(people.name)}}
> {{=(people.dob)}}
> {{=(people.height)}}
>
>
# View - country.html
{{for people in country:}}
Birth
Certificate
{{=(people.name)}}
{{=(people.dob)}}
{{=(people.height)}}
{{pass}}
# Controller
def
certificate():
certificate = db(db.poeple.id==request.args(0)).select()
return locals()
# View - certificate.html
{{for row in ce
3 matches
Mail list logo