<form class="g-3 row auto-width" action="{{route('social-media.update',$SocialSocialMedia->id)}}" method="POST" enctype='multipart/form-data'>
  <!-- For validation comment on -->
  @csrf
  @method('PUT')
  <div class="col-md-12 col-sm-12">
    <div class="g-3 row">
      <div class="col-md-12">
        <label>Media Name <span class="text-danger">*</span></label>
        <input type="text" class="form-control" placeholder="Media Name" aria-label="title" name="media_name" value="@if(isset($SocialSocialMedia->media_name)){{$SocialSocialMedia->media_name}}@endif">
      </div>
      <div class="col-md-12">
        <label>Media Code</label>
        <input type="text" class="form-control" placeholder="Media Code" aria-label="code" name="code" value="@if(isset($SocialSocialMedia->code)){{$SocialSocialMedia->code}}@endif">
      </div>
      <div class="col-md-12 mt-3">
        <label>Link</label>
        <input type="text" class="form-control" id="link" name="link" placeholder="link" value="@if(isset($SocialSocialMedia->link)){{$SocialSocialMedia->link}}@endif">
      </div>
      <div class="col-md-12">
        <label>Icon</label>
        <input type="text" class="form-control" placeholder="ex: fab fa-facebook" aria-label="icon" name="icon" value="@if(isset($SocialSocialMedia->icon)){{$SocialSocialMedia->icon}}@endif">
      </div>
    </div>
  </div>

</form>