Thanks.
I tried that but was using: - end .. should have realized
that the - end was not needed and indentation took care of it.
I was looking in
http://haml.hamptoncatlin.com/docs/haml
and could not find how to do conditionals.
Maybe you could add a Conditional Execution section to the docs
with this simple example. : )
Thanks a lot for your help. This stuff is great!
Todd
On Nov 16, 12:42 am, Nathan Weizenbaum <
nex...@gmail.com> wrote:
> - if @user.logged_in?
> YOU ARE LOGGED IN
> - else
> LOG IN OR SIGN UP
>
> No end required. For future reference, this is covered inhttp://
haml.hamptoncatlin.com/docs/:-).