@include('admin.header')

<body class="skin-blue layout-top-nav">
<div class="wrapper">

@include('admin.sidebar')

<!-- Content Wrapper. Contains page content -->
    <div class="content-wrapper">
        <div class="container inner_container">
            <!-- Content Header (Page header) -->

            <!-- Main content -->
            <section class="content" style="padding: 20px 0;">

                <div class="box">
                    <div class="box-header with-border">
                        <h3 class="box-title">Save Career</h3>
                    </div>
                    <!-- form start -->
                    <form id="career_form">

                        <input type="hidden" class="career_id" name="id"
                               <?php if(isset($career)){?> value="<?php echo $career['id']; ?>" <?php } ?> >

                        <div class="box-body">

                            <div class="form-group col-md-4">
                                <label>Title <span class="statric">*</span></label>
                                <input type="text" class="form-control career_title" name="title"
                                       placeholder="Enter title"
                                       <?php if(isset($career)){?> value="<?php echo $career['title']; ?>" <?php } ?> >
                            </div>

                            <div class="form-group col-md-12">
                                <label>Description <span class="statric">*</span></label>
                                <textarea id="editor1" class="form-control career_description" name="description"
                                          rows="10"
                                          cols="80">@if(isset($career)) {{$career['description']}} @endif</textarea>
                            </div>

                        </div>
                        <!-- /.box-body -->

                        <div class="box-footer col-md-12">
                            <div class="col-md-12">
                                <button class="btn btn-primary save_career">Save</button>
                            </div>
                        </div>
                    </form>
                </div>


            </section>
            <!-- /.content -->
        </div>

    </div>

</div>

@include('admin.footer')
