@extends('layouts.default')
@section('scripts')
    {{ Jqgrid::scripts() }}

    <script type="text/javascript">

        $(document).ready(function() {
		});
    </script>

@endsection

@section('scripts')
    {{ Jqgrid::scripts() }}

    <script type="text/javascript">

        $(document).ready(function() {
		});
    </script>

@endsection

@section('content')
<!-- widget grid -->
<section id="widget-grid" class="">
    <!-- row -->
    <div class="table">
        <!-- NEW WIDGET START -->
        <article class="col-xs-12 col-sm-12 col-md-12 col-lg-12">
            <!-- Widget ID (each widget will need unique ID)-->
            <div class="jarviswidget jarviswidget-color-darken" id="wid-id-2">
                <header>
                    <span class="widget-icon"> <i class="fa fa-table"></i> </span>
                    <h2>{{ $title }}</h2>
                </header>
                <!-- widget div-->
                <div class="table-responsive">
                    <!-- widget content -->
                    <div class="widget-body no-padding">
                       <div id="jqgrid_pager"></div>
                       <form method="POST" action="{{ url('importar/grabarArchivo') }}" class="form-horizontal" id="familias_editar_form" enctype="multipart/form-data">
                       <div class="modal-body">
                            <div class="row">
                                 <div class="col-md-12">
                                      <input type="hidden" name="id" value="" id="familia_editar_id">
                                      <div class='form-group form-group-sm'>
                                           <div class='col-sm-9'>
                                                {{ Form::file('FILE',  ['class'=>'form-control', 'id' => 'archivo']) }}
                                           </div>
                                      </div>
                                 </div>
                            </div>
                       </div>
                       <div class="modal-footer">
                            <button type="button" class="btn btn-default" data-dismiss="modal">Cancelar</button>
                            <button type="submit" class="btn btn-primary">Editar</button>
                       </div>
                       </form>
                    </div>
                    <!-- end widget content -->
                </div>
                <!-- end widget div -->
            </div>
            <!-- end widget -->
        </article>
        <!-- WIDGET END -->
    </div>
    <!-- end row -->

</section>
<!-- end widget grid -->
@endsection