and i've got a object which has the method hasATest that returns a boolean and depending on the value I want a button to be enabled or disabled so I thought of doing something like
<button class="btn btn-xs btn-detail btn-activate" name="question_id" value="" id="activate" "" Activate </button>
But I don't know what to do about the else. If I remove the : there's an error, "unexpected =" ... plus it's not like there's the opposite for disabled.
via sarah