title: Laravel blade simple inline if statement
body: <p>Is it possible with Laravel Blade templating to write a statement like this?</p>
  
  <p>If alt image field exists in database, add. If not, leave out.  What is happening with the code below is the double quotes alt="text" get rendered.</p>
  
  <pre><code>&lt;img src="#" {{$product-&gt;extra_img1_alt ? 'alt="'. $product-&gt;extra_img1_alt .'"' : ''}}&gt;
  </code></pre>