<commit_before><?php

use yii\widgets\LinkPager;

?>
<div class="container well">
    <h1>Client list</h1>

    <br />
    <br />

    <?php if(count($clients)): ?>
        <table class="table table-responsive table-striped">
            <tr>
                <th>First name</th>
                <th>Last name</th>
                <th>Email</th>
                <th>Address</th>
                <th>Phone</th>
                <th>Company</th>
            </tr>

            <?php foreach($clients as $client): ?>
            <tr>
                <td><?= $client->first_name ?></td>
                <td><?= $client->last_name ?></td>
                <td><?= $client->email ?></td>
                <td><?= $client->address ?></td>
                <td><?= $client->phone ?></td>
                <td><?= $client->company ?></td>
            </tr>
            <?php endforeach; ?>
        </table>

        <?= LinkPager::widget(['pagination' => $pagination]) ?>
    <?php else: ?>
    <div class="alert alert-info">No clients found</div>
    <?php endif; ?>
</div><commit_msg>No clients found view<commit_after><?php

use yii\widgets\LinkPager;

$url = new \yii\helpers\Url();

?>
<div class="container well">
    <h1>Client list</h1>

    <br />
    <br />

    <?php if($clients): ?>
        <table class="table table-responsive table-striped">
            <tr>
                <th>First name</th>
                <th>Last name</th>
                <th>Email</th>
                <th>Address</th>
                <th>Phone</th>
                <th>Company</th>
            </tr>

            <?php foreach($clients as $client): ?>
            <tr>
                <td><?= $client->first_name ?></td>
                <td><?= $client->last_name ?></td>
                <td><?= $client->email ?></td>
                <td><?= $client->address ?></td>
                <td><?= $client->phone ?></td>
                <td><?= $client->company ?></td>
            </tr>
            <?php endforeach; ?>
        </table>

        <?= LinkPager::widget(['pagination' => $pagination]) ?>
    <?php else: ?>
    <div class="alert alert-info">No clients found <br /> <br />
        <a href="<?= $url->to('client/create') ?>" class="btn btn-primary">Create client</a>
    </div>
    <?php endif; ?>
</div>
{'fraction_non_alphanumeric': 0.20507214691735898, 'fraction_numerical': 0.0017490161783996502, 'mean_word_length': 1.5478841870824054, 'pattern_counts': {'":': 0, '<': 110, '<?xml version=': 0, '>': 125, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3063670', 'n_tokens_mistral': 729, 'n_tokens_neox': 718, 'n_words': 144}