title: laravel - if/elseif - weird error in layout
body: <p>I have in my footer partial in layout this code:</p>
  
  <pre><code>@if(isset(Session::get('errormessage'))
    &lt;div style="background-color:#ff3300; padding:4px; color:white; font-size:80%" {{Session::get('errormessage') }}&lt;/div&gt;
  
  @elseif(isset(Session::get('okmessage'))
    &lt;div style="background-color:#00ff00; padding:4px; color:white; font-size:80%"&gt; {{ Session::get('okmessage') }}&lt;/div&gt;
  
  @endif
  </code></pre>
  
  <p>But this returns in HTML this:</p>
  
  <pre><code>&lt;?php if: ?&gt;(isset(Session::get('errormessage'))
  </code></pre>
  
  <p>and error: </p>
  
  <blockquote>
    <p>syntax error, unexpected ':', expecting '('</p>
  </blockquote>
  
  <p>What do I do wrong? Is there a way to fix this?</p>