title: If statement inside checked attribute of input element in freemarker?
body: <p>Is it possible to write this in freemarker.</p>
  
  <pre><code>&lt;input type="checkbox" value="Available ?" checked="&lt;#if ${status}=='Available'&gt;true&lt;#else&gt;false&lt;/#if&gt;"/&gt;
  </code></pre>
  
  <p>For now it throws exception</p>
  
  <p>I want html checkbox to be checked if <code>status</code> property equals to <code>"Available"</code>.</p>
  
  <p>How to do this in freemarker?</p>