@extends('layout/master2')

@section('contentchild')
                
                          

     @foreach(["success","error"] as $status)
@if(Session::has($status))
<div class="alert alert-{{$status}} alert-dismissible">
  <a href="#" class="close" data-dismiss="alert" aria-label="close">&times;</a>
  <strong>{{$status}}!</strong> {{Session::get($status)}} action.
</div>
@endif
@endforeach


                    <form  name="chngpwd" method="post" action="{{route('update_project')}}">
                                  @csrf
								  
								     <h4 class="text-center font-weight-light my-4">Create Category </h4>
								      <input type="hidden" name="id" value="{{ !empty($users->id)?$users->id:''}}" />
                         <h4 style='color:blue'>Project Information</h4>
                           <div class="row"> 
								
                                  
                                      <div class="col-sm-3 form-group">
                                            <label for="password">Project Name</label>
<input   type="text"  class="form-control" value="{{ !empty($users->projectnm)?$users->projectnm:''}}" autocomplete="off" name="projectnm"  required>
                                          </div>

<div class="col-sm-3 form-group">
                                            <label for="password">Location</label>
<input   type="text"  class="form-control" value="{{ !empty($users->location)?$users->location:''}}" autocomplete="off" name="location"  required>
                                          </div>

<div class="col-sm-3 form-group">
                                            <label for="password">State</label>
<input   type="text"  class="form-control" value="{{ !empty($users->state)?$users->state:''}}" autocomplete="off" name="state"  required>
                                          </div>

                                          <div class="col-sm-3 form-group">
                                            <label for="password">District</label>
<input   type="text"  class="form-control" value="{{ !empty($users->district)?$users->district:''}}" autocomplete="off" name="district"  required>
                                          </div>



                                          <div class="col-sm-3 form-group">
                                            <label for="password">Pin Code</label>
<input   type="text"  class="form-control" value="{{ !empty($users->pincode)?$users->pincode:''}}" autocomplete="off" name="pincode"  required>
                                      </div>

 <div class="col-sm-3 form-group">
                                            <label for="password">Contact No.</label>
<input   type="text"  class="form-control" value="{{ !empty($users->contact)?$users->contact:''}}" autocomplete="off" name="contact"  required>
                                      </div>


 <div class="col-sm-3 form-group">
                                            <label for="password">Phone No.</label>
<input   type="text"  class="form-control" value="{{ !empty($users->phone)?$users->phone:''}}" autocomplete="off" name="phone"  required>
                                      </div>
 <div class="col-sm-3 form-group">
      <label for="password">About Project</label>
<textarea class="form-control" value="{{ !empty($users->about_project)?$users->about_project:''}}" name="about_project">
</textarea>
                                      </div>
                                    </div>
<div class="col-sm-4 text-center">
<button type="submit" name="change" class="btn btn-primary" >Update</button>

</div>

 </form>
                             
         



     @endsection
             