<?php

namespace ThurData\Servers\KerioEmail\App\UI\Client\EmailAccount\Sections;


use ThurData\Servers\KerioEmail\App\Traits\FormExtendedTrait;
use ThurData\Servers\KerioEmail\App\UI\Admin\Custom\Sections\FreeFieldsSection;
use ThurData\Servers\KerioEmail\Core\UI\Widget\Forms\Fields\Text;
use ThurData\Servers\KerioEmail\Core\UI\Widget\Forms\Fields\Checkbox;

/**
 *
 * Created by PhpStorm.
 * User: ThurData
 * Date: 12.11.19
 * Time: 13:52
 * Class EditAdditionalSection
 */
class EditForwardSection extends FreeFieldsSection
{
    protected $id   = 'editForwardSection';
    protected $name = 'editForwardSection';

    use FormExtendedTrait;

    public function initContent()
    {

        $this->generateDoubleSection([new Checkbox('forward'), new Text('target')]);

    }

}