title: Syntax for if/else statement in Haml - unexpected keyword else?
body: <p>I just switched to HAML and converting my erb to haml. I am experiencing an error (unexpected keyword else) when setting up the code as I think it should look:</p>
  
  <pre><code>= if signed_in?
    %li= link_to "Users", '#'
    %li#fat-menu.dropdown
      %a.dropdown-toggle{ href: '#', data: { toggle: "dropdown" } } 
        Account
        %b.caret
      %ul.dropdown-menu
        %li= link_to "Profile", current_user
        %li= link_to "Settings", '#'
        %li.divider
        %li= link_to "Log out", signout_path, method: "delete"
  = else
    %li= link_to "Log in", signin_path
  </code></pre>
  
  <p>I have tried a number of things, but I can't seem to tackle the syntax error. I am sure it is a pretty basic thing for somebody who knows HAML. Any help is much appreciated!</p>