Didn't work, but thanks for trying to help. On Jan 26, 1:49 pm, Aydın ŞEN <[email protected]> wrote: > 2010/1/26 geekbuntu <[email protected]> > > > can anyone advise me how to properly construct an 'if' inside a > > template? > > > $def with (title, name, results, count) > > $var title:$title > > $var name:$name > > $var count:$count > > > if $result != '': > > *$if result !='':* > > > > > > > > > <ul> > > $for result in results: > > <li> > > <b> $result</b> > > </li> > > </ul> > > $count Results Were Found > > else: > > No results were found. > > > thanks in advance, > > greg > > > -- > > 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] <webpy%[email protected]>. > > For more options, visit this group at > >http://groups.google.com/group/webpy?hl=en. > > -- > Aydın ŞEN > > Ege Üniversitesi > Uluslararası Bilgisayar Enstitüsü
-- 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.
