title: How to set read only field dynamically in Blade(Laravel)
body: <p>I want set read only field dynamically :</p>
  
  <p><em>In Controller:</em> </p>
  
  <p>$is_read =true;</p>
  
  <p><em>In Blade form:</em>    </p>
  
  <p><code>{!!Form::text('name',$company_name,array('id'=&gt;'rc_name','class'=&gt;'form-control','placeholder'=&gt;'Name','readonly'=&gt;'$is_read'))!!}</code></p>
  
  <p>Please help.</p>