title: Handlebars.js if block helper ==
body: <p>How would you change the following code to make it work? The problem is the this == 'some message' expression:</p>
  
  <pre><code>&lt;ul&gt;
    {{#each errors}}
      {{#if (this == 'some message') }}
      &lt;li&gt;Status&lt;/li&gt;
      {{else}}
      &lt;li&gt;{{this}}&lt;/li&gt;
      {{/if}}
    {{/each}}
  &lt;/ul&gt;
  </code></pre>