<x-app-layout>
    @include('admin.include.sidebar')
    <!-- Page Content  -->
    <div class="wrapper">
       <!-- Sidebar  -->
       <!-- Page Content  -->
       <div id="content">
          
          <div class="navbar-expand-lg navbar-light bg-light">
             <form action="{{route('contact.update',$location->id)}}" method="POST" enctype="multipart/form-data">
                @method('PATCH')
                @csrf
                <div class="col-12">
                  <div class="row">
                    <div class="col-md-6 form-group">
                       <label>Location</label>
                       <input type="text" class="form-control" value="{{$location->location}}" name="location">
                    </div>
                    <div class="col-md-6 form-group">
                       <label>Location Arabic</label>
                       <input type="text" class="form-control" value="{{$location->location_a}}" name="location_a">
                    </div>
                    <div class="col-md-6 form-group">
                       <label>Call 1</label>
                       <input type="text" class="form-control" value="{{$location->call1}}" name="call1" required="">
                    </div>
                    <div class="col-md-6 form-group">
                       <label>Call 2</label>
                       <input type="text" class="form-control" value="{{$location->call2}}" name="call2" required="">
                    </div>
                    <div class="col-md-6 form-group">
                       <label>Call 3</label>
                       <input type="text" class="form-control" value="{{$location->call3}}" name="call3" required="">
                    </div>
                    <div class="col-md-6 form-group">
                       <label>Email</label>
                       <input type="text" class="form-control" value="{{$location->email}}" name="email" required="">
                    </div>
                     <div class="col-md-12">
                        <input type="submit" class="btn btn-success" value="submit">
                     </div>
                  </div>
               </div>
             </form>
          </div>
       </div>
    </div>
  </x-app-layout>