Thanks Leonel, sorry I wasn't clear, am interested in working example where vars are passed so I can see how they and edit functions work. If you know of any example, please let me know.
Alex Glaros On Fri, Nov 7, 2014 at 2:24 AM, Leonel Câmara <leonelcam...@gmail.com> wrote: > Is something like this what you want? > > {{for comment in comments:}} > <tr> > <td>{{=comment.posted_on}}</td> > <td>{{=comment.posted_by.first_name}} says </td> > <td>{{=MARKMIN(comment.body)}}</td> > <td> > {{if auth.user_id == comment.posted_by:}} > <button>Edit</button> > {{pass}} > </td> > </tr> > {{pass}} > > -- > Resources: > - http://web2py.com > - http://web2py.com/book (Documentation) > - http://github.com/web2py/web2py (Source code) > - https://code.google.com/p/web2py/issues/list (Report Issues) > --- > You received this message because you are subscribed to a topic in the > Google Groups "web2py-users" group. > To unsubscribe from this topic, visit > https://groups.google.com/d/topic/web2py/b_yLXT4X9Qg/unsubscribe. > To unsubscribe from this group and all its topics, send an email to > web2py+unsubscr...@googlegroups.com. > For more options, visit https://groups.google.com/d/optout. > -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/list (Report Issues) --- 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 web2py+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.