<div class="widget widget-latest-users">
    <table class="table">
        <thead>
            <tr>
                <th>{!! trans('users::latest_users') !!} <a href="{{ url('users') }}" title="{{ trans('app.read_more') }}">{!! HTML::fontIcon('external-link-alt') !!}</a></th>
                <th>{!! trans('app.date') !!}</th>
            </tr>
        </thead>
        
        <tbody>
        @section('users-widget-latest-index')
            @foreach ($users as $user)
                <tr>
                    <td>{!! link_to('users/'.$user->id.'/'.$user->slug, $user->username) !!}</td>
                    <td>{{ $user->created_at }}</td>
                </tr>
            @endforeach
        @show
        </tbody>
    </table>
</div>
