<?php
/**
 * @var \App\View\AppView $this
 * @var \App\Model\Entity\Chatbot $chatbot
 */
?>
<div class="row">
    <div class="column-responsive column-100">
        <div class="chatbots form content">
            <?= $this->Html->link('Listado de chats', ['action' => 'index'], ['class' => 'button float-right']) ?>
            <h3>Chats</h3>
            <?= $this->Form->create($chatbot) ?>
            <fieldset>
                <legend>Agregar nuevo chat</legend>
                <?php
                    echo $this->Form->control('name', ['label' => 'Nombre']);
                    echo $this->Form->control('token');
                    echo $this->Form->control('chatid');
                ?>
            </fieldset>
            <?= $this->Form->button(__('Submit')) ?>
            <?= $this->Form->end() ?>
        </div>
    </div>
</div>
