title: Blade ternary operator without else
body: <p>I've got a object which has the method <code>hasATest</code> 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 this:</p>
  
  <pre><code>&lt;button class="btn btn-xs btn-detail btn-activate" name="question_id" value="{{$question-&gt;id}}" id="activate{{$question-&gt;id}}"
      "{{ $question-&gt;hasATest() ? disabled : }}"&gt; Activate 
  &lt;/button&gt;
  </code></pre>
  
  <p>But I don't know what to do about the else. If I remove the <code>:</code>, an error occurs:</p>
  
  <pre><code>"unexpected ="  ... 
  </code></pre>
  
  <p>Plus it's not like there's the opposite for disabled. </p>