<?php
/**
 * @var \App\View\AppView $this
 * @var \App\Model\Entity\Chatbot $chatbot
 */
?>
<div class="row">
    <aside class="column">
        <div class="side-nav">
            <h4 class="heading"><?= __('Actions') ?></h4>
            <?= $this->Html->link(__('Edit Chatbot'), ['action' => 'edit', $chatbot->id], ['class' => 'side-nav-item']) ?>
            <?= $this->Form->postLink(__('Delete Chatbot'), ['action' => 'delete', $chatbot->id], ['confirm' => __('Are you sure you want to delete # {0}?', $chatbot->id), 'class' => 'side-nav-item']) ?>
            <?= $this->Html->link(__('List Chatbots'), ['action' => 'index'], ['class' => 'side-nav-item']) ?>
            <?= $this->Html->link(__('New Chatbot'), ['action' => 'add'], ['class' => 'side-nav-item']) ?>
        </div>
    </aside>
    <div class="column-responsive column-80">
        <div class="chatbots view content">
            <h3><?= h($chatbot->name) ?></h3>
            <table>
                <tr>
                    <th><?= __('Name') ?></th>
                    <td><?= h($chatbot->name) ?></td>
                </tr>
                <tr>
                    <th><?= __('Token') ?></th>
                    <td><?= h($chatbot->token) ?></td>
                </tr>
                <tr>
                    <th><?= __('Id') ?></th>
                    <td><?= $this->Number->format($chatbot->id) ?></td>
                </tr>
                <tr>
                    <th><?= __('Chatid') ?></th>
                    <td><?= $this->Number->format($chatbot->chatid) ?></td>
                </tr>
                <tr>
                    <th><?= __('Created') ?></th>
                    <td><?= h($chatbot->created) ?></td>
                </tr>
            </table>
        </div>
    </div>
</div>
