Hi Denes,
Thanks for your reply and explanation, problem solved. In the
controller I have:
session.row=db(db.cardfunction.company_id==session.id).select(db.cardfunction.ALL).first()
... so in the view I needed:
{{if session.row[_name.lower()]:}}
Kind regards,
Annet.
Hi Annet,
On Mar 22, 10:08 am, annet wrote:
> Thanks for your reply. I had a look at the code, but I am afraid it
> doesn't solve my problem. The functions are fields in a table and
> depending on their value being true or false they should be rendered
> as an or element.
>
> Given this code in
Thanks for your reply. I had a look at the code, but I am afraid it
doesn't solve my problem. The functions are fields in a table and
depending on their value being true or false they should be rendered
as an or element.
Given this code in a function:
session.id=auth.user.bedrijf_id
session.row
3 matches
Mail list logo