title: laravel CRUD Radio Button is not checked when trying to edit
body: <p>I am working on laravel CRUD, I am able or update data from the radio button, but when I click on edit radio button is not checked based upon value in the database.
  I have two radio buttons (single and married) both radio buttons are unchecked when I click on edit. what I want is if database value is married radio button married should be checked. 
  here is my code:
  <br><strong>view:</strong></p>
  
  <pre><code>&lt;lable&gt;Single&lt;/lable&gt;
  &lt;input type="radio" name="sm" value="single"  @if(@$category-&gt;sm == "single") checked @endif&gt;
  &lt;lable&gt;Married&lt;/lable&gt;
  &lt;input type="radio" name="sm" value="married"  @if(@$category-&gt;sm == "married") checked @endif&gt;
  </code></pre>
  
  <p><strong>Controller:</strong></p>
  
  <pre><code>public function update(Request $request, Category $category)
  {
     $category-&gt;sm = $request-&gt;sm;   
        return back()-&gt;with('message','Record Successfully Updated!');
  }
  </code></pre>