@extends('admin.layouts.container')

@section('content')
    <div class="side-title">
        <h3>{{ $head ?? '' }}</h3>
    </div>

    <div class="border-item">
        <form class="form-row" >
          
            
        <div class="col-lg-12 mb-3">
            <div class="new-users border-item">
                <section class="best_arrangement">
                    <div class="row">
                        <div class="col-lg-12">
                            <div class="table_box mt-4">
                                <div class="table_content">
                                    <div class="item_row">
                                        <p> # </p> 
                                        <p> أسم المستخدم </p> 
                                    </div>
                                    @foreach($users as $key=>$user)
                                    <div class="item_row" style="background-color: #6f71f655">
                                        <p> {{$key+1}} </p> 
                                        <p> {{$user->name}} </p> 
                                    </div>
                                    @endforeach
                                </div>
                            </div>
                        </div>
                    </div>
                    
                </section>
            </div>
        </div>


        </form>
    </div>

@endsection

@section('inner_js')
    <!-- Editor JS files -->
    <script src="//cdn.tinymce.com/4/tinymce.min.js"></script>
    <script>
        let route_prefix = "{{ url(config('lfm.prefix')) }}",
            url = "{{url('/')}}/",
            url_country = "{{url('/')}}/admin/country",
            imagePath = "{{asset('')}}";
    </script>
    <script src="{{ asset('assets/admin/js/editor.js') }}"></script>
    <script src="{{ asset('assets/admin/js/lfm.js') }}"></script>
@endsection
