<div class="table-responsive">
    <table class="table" id="kanbanAccounts-table">
        <thead>
            <tr>
                <th>Id</th>
        <th>Account Name</th>
        <th>Url</th>
        <th>Toekn</th>
        <th>Created At</th>
        <th>Updated At</th>
                <th colspan="3">Action</th>
            </tr>
        </thead>
        <tbody>
        @foreach($kanbanAccounts as $kanbanAccounts)
            <tr>
                <td>{{ $kanbanAccounts->id }}</td>
            <td>{{ $kanbanAccounts->account_name }}</td>
            <td>{{ $kanbanAccounts->url }}</td>
            <td>{{ $kanbanAccounts->token }}</td>
            <td>{{ $kanbanAccounts->created_at }}</td>
            <td>{{ $kanbanAccounts->updated_at }}</td>
                <td>
                    {!! Form::open(['route' => ['kanbanAccounts.destroy', $kanbanAccounts->id], 'method' => 'delete']) !!}
                    <div class='btn-group'>
                        <a href="{{ route('kanbanAccounts.show', [$kanbanAccounts->id]) }}" class='btn btn-success pl-3'><i class="fa fa-info"></i></a>
                        <a href="{{ route('kanbanAccounts.edit', [$kanbanAccounts->id]) }}" class='btn btn-warning pr-2'><i
                                class="fa fa-edit"></i></a>
                        {!! Form::button('<i class="fa fa-trash-o"></i>', ['type' => 'submit', 'class' => 'btn btn-danger', 'onclick' => "return confirm('Are you sure?')"]) !!}
                    </div>
                    {!! Form::close() !!}
                </td>
            </tr>
        @endforeach
        </tbody>
    </table>
</div>
