@extends('admin.layouts.master')

@section('title') Languages @stop

@section('content')

    <section class="content-header">
        <h1>
            Languages  <a href="{{ route('language.add') }}" class="btn btn-success btn-xs margin-l-10 margin-t-n-5">Add Language</a>
        </h1>
        <ol class="breadcrumb">
            <li><a href="{{ route('dashboard') }}"><i class="fa fa-dashboard"></i> Home</a></li>
            <li class="active">Languages</li>
        </ol>
    </section>
    <section class="content">
        <div class="row">
            <div class="col-xs-12">
                <div class="box">
                    <div class="box-body">

                        <div class="row">
                            <div class="col-sm-12">


                                <table id="languages" data-ajax-url="{{ route('ajax.get.languages') }}" class="table table-bordered table-striped" cellspacing="0" width="100%">
                                    <thead>
                                    <tr>
                                        <th>Flag</th>
                                        <th>Name</th>
                                        <th>Short Code</th>
                                        <th>Options</th>
                                    </tr>
                                    </thead>
                                </table>

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


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

@stop
@section('scripts')
    <script type="text/javascript" src="{{ asset('admin-assets/dist/js/language.js') }}"></script>
@stop