On Wed, Jan 20, 2010 at 11:05 PM, Ken <[email protected]> wrote:
> On Jan 20, 5:12 am, Matt Woolnough <[email protected]> wrote:
>> I am trying to display a 'Log Out' link on a page that only is
>> displayed when a user is logged in.
>>
>> When I try this link will not display when its inside the if
>> statement.

One minor issue is that '% if variable == True' matches only on the
exact value, while '%if variable:' will match any true value.  Usually
there's no need to distinguish between true and True.  (Or the
opposite, false vs False.)

-- 
Mike Orr <[email protected]>
-- 
You received this message because you are subscribed to the Google Groups 
"pylons-discuss" 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/pylons-discuss?hl=en.


Reply via email to