title: How to inject Scala variable into html attribute in Scala template HTML?
body: <p>Says, I have a variable @index, and I want to name all the checkboxes with suffix <code>cb_${index}</code></p>
  
  <pre><code>&lt;td&gt;
  &lt;input type="checkbox" name="cb_$index" value="check" /&gt;
  &lt;/td&gt;
  </code></pre>
  
  <p>The above syntax didn't work at all. Is this even possible in Scala template or am I missing something here? Thanks.</p>