<commit_before><div class="nav-tabs-custom">
    <ul id="relatedTabs" class="nav nav-tabs" role="tablist">
        <li role="presentation" class="active">
            <a href="#manage-content" aria-controls="manage-content" role="tab" data-toggle="tab">
                <?= __('Manage Content'); ?>
            </a>
        </li>
        <li role="presentation">
            <a href="#manage-categories" aria-controls="manage-categories" role="tab" data-toggle="tab">
                <?= __('Manage Categories'); ?>
            </a>
        </li>
    </ul>
    <div class="tab-content">
        <div role="tabpanel" class="tab-pane active" id="manage-content">
            <?= $this->element('Articles/new', [
                'categories' => $categories,
                'site' => $site,
                'article' => $article,
                'articleTypes' => $types
            ]) ?>
        </div>
        <div role="tabpanel" class="tab-pane" id="manage-categories">
            <?php if (!empty($site->categories)) : ?>
            <table class="table table-hover table-condensed table-vertical-align">
                <thead>
                    <tr>
                        <th><?= __('Name') ?></th>
                        <th><?= __('Slug') ?></th>
                        <th class="actions"><?= __('Actions') ?></th>
                    </tr>
                </thead>
                <tbody>
                    <?php foreach ($site->categories as $category) : ?>
                    <tr>
                        <td><?= $category->node ?></td>
                        <td><?= h($category->slug) ?></td>
                        <td class="actions">
                            <div class="btn-toolbar" role="toolbar">
                                <div class="btn-group btn-group-xs" role="group">
                                <?= $this->Html->link(
                                    '<i class="fa fa-eye"></i>',
                                    ['controller' => 'Categories', 'action' => 'view', $site->slug, $category->slug],
                                    ['title' => __('View'), 'class' => 'btn btn-default', 'escape' => false]
                                ) ?>
                                <?= $this->Html->link(
                                    '<i class="fa fa-pencil"></i>',
                                    ['controller' => 'Categories', 'action' => 'edit', $site->slug, $category->slug],
                                    ['title' => __('Edit'), 'class' => 'btn btn-default', 'escape' => false]
                                ) ?><commit_msg>Remove view button from table listing (task #3705)<commit_after><div class="nav-tabs-custom">
    <ul id="relatedTabs" class="nav nav-tabs" role="tablist">
        <li role="presentation" class="active">
            <a href="#manage-content" aria-controls="manage-content" role="tab" data-toggle="tab">
                <?= __('Manage Content'); ?>
            </a>
        </li>
        <li role="presentation">
            <a href="#manage-categories" aria-controls="manage-categories" role="tab" data-toggle="tab">
                <?= __('Manage Categories'); ?>
            </a>
        </li>
    </ul>
    <div class="tab-content">
        <div role="tabpanel" class="tab-pane active" id="manage-content">
            <?= $this->element('Articles/new', [
                'categories' => $categories,
                'site' => $site,
                'article' => $article,
                'articleTypes' => $types
            ]) ?>
        </div>
        <div role="tabpanel" class="tab-pane" id="manage-categories">
            <?php if (!empty($site->categories)) : ?>
            <table class="table table-hover table-condensed table-vertical-align">
                <thead>
                    <tr>
                        <th><?= __('Name') ?></th>
                        <th><?= __('Slug') ?></th>
                        <th class="actions"><?= __('Actions') ?></th>
                    </tr>
                </thead>
                <tbody>
                    <?php foreach ($site->categories as $category) : ?>
                    <tr>
                        <td><?= $category->node ?></td>
                        <td><?= h($category->slug) ?></td>
                        <td class="actions">
                            <div class="btn-toolbar" role="toolbar">
                                <div class="btn-group btn-group-xs" role="group">
                                <?= $this->Html->link(
                                    '<i class="fa fa-pencil"></i>',
                                    ['controller' => 'Categories', 'action' => 'edit', $site->slug, $category->slug],
                                    ['title' => __('Edit'), 'class' => 'btn btn-default', 'escape' => false]
                                ) ?>
{'fraction_non_alphanumeric': 0.17971493493079943, 'fraction_numerical': 0.0008262755629002272, 'mean_word_length': 1.2926136363636365, 'pattern_counts': {'":': 0, '<': 102, '<?xml version=': 0, '>': 147, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 13, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2122553', 'n_tokens_mistral': 1292, 'n_tokens_neox': 1245, 'n_words': 250}