title: Add style to an element based on a Model value
body: <p>I want to add a simple inline style to my div tag if a certain criteria is met.</p>
  
  <p>I am able to apply the "disabled" class successfully, but I can't get my cursor style to show up.</p>
  
  <pre><code>&lt;div class="item  @(item.AvailableTimeSlots == "0" ? "disabled" : "")" @(item.AvailableTimeSlots == "0" ? "style='cursor: default;'" : "")&gt;
  </code></pre>
  
  <p>any pointers?</p>