title: Laravel inline if statement in select
body: <p>I would like to know if it is possible to add an inline if statement in Laravel's form select element</p>
  
  <p>I am able to do it this way:</p>
  
  <pre><code>&lt;select&gt;
  &lt;option value="1"&gt;One&lt;/option&gt;
  &lt;option value="2"&gt;Two&lt;/option&gt;
  {!! $variable=='Hello'?'&lt;option value="3"&gt;Three&lt;/option&gt;':'' !!}
  &lt;/select&gt;
  </code></pre>
  
  <p>But I would like to know if there is a way similar to this:</p>
  
  <pre><code>{!! Form::select('action',array('1'=&gt;'One','2'=&gt;'Two',@if($variable=='Hello') '3'=&gt;'three' @endif),null,['class'=&gt;'form-control']) !!}
  </code></pre>