<div class="card-body">

    <form id="validation2" action="{{route('admin::update_open_career',$careers['id'])}}" method="POST"
          enctype="multipart/form-data">
        @csrf
        <div class="row">
            <div class="col-sm-6">
                <div class="form-group">
                    <label>Job Title</label>
                    <input type="text" name="title" value="{{$careers['title']}}"
                           class="validate[required] form-control" placeholder="Enter Job Title...">
                </div>
                @if ($errors->has('skills'))
                    <span class="alert alert-danger">{{ $errors->first('skills') }}</span>
                @endif
            </div>
            <div class="col-sm-6">
                <div class="form-group">
                    <label>Skills</label>
                    <input type="text" name="skills" value="{{$careers['skills']}}"
                           class="validate[required] form-control" placeholder="Enter Skills...">
                </div>
                @if ($errors->has('skills'))
                    <span class="alert alert-danger">{{ $errors->first('skills') }}</span>
                @endif
            </div>
        </div>
        <br>
        <div class="row">
            <div class="col-sm-4">
                <div class="form-group">
                    <label>Experience</label>
                    <input type="text" name="experience" value="{{$careers['experience']}}"
                           class="validate[required] form-control" placeholder="Enter Experience ...">
                </div>
                @if ($errors->has('experience'))
                    <span class="alert alert-danger">{{ $errors->first('experience') }}</span>
                @endif
            </div>
            <div class="col-sm-4">
                <div class="form-group">
                    <label>Location</label>
                    <input type="text" name="location" value="{{$careers['location']}}"
                           class="validate[required] form-control" placeholder="Enter Location...">
                </div>
                @if ($errors->has('location'))
                    <span class="alert alert-danger">{{ $errors->first('location') }}</span>
                @endif
            </div>
            <div class="col-sm-4">
                <div class="form-group">
                    <label>Total Position</label>
                    <input type="text" name="position_open" value="{{$careers['position_open']}}"
                           class="validate[required] form-control" placeholder="Enter Total Position...">
                </div>
                @if ($errors->has('position_open'))
                    <span class="alert alert-danger">{{ $errors->first('position_open') }}</span>
                @endif
            </div>

        </div>
        <br>
        <div class="row">
            <div class="col-sm-12">
                <div class="form-group">
                    <label>Eligibility</label>
                    <textarea type="text" name="eligibility" class="validate[required] form-control"
                              placeholder="Enter Eligibility...">{{$careers['eligibility']}}</textarea>
                </div>
                @if ($errors->has('eligibility'))
                    <span class="alert alert-danger">{{ $errors->first('eligibility') }}</span>
                @endif
            </div>
        </div>
        <br>
        <div class="col-md-12">
            <div class="form-group" style="text-align:center">
                <input type="submit" value="Submit" class="btn btn-primary">
            </div>
        </div>
    </form>
</div>
<!-- /.card-body -->
<script type="text/javascript">
    jQuery("#validation2").validationEngine({promptPosition: 'inline'});
    $('.select2').select2();
</script>




