<?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;

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

    use FormExtendedTrait;

    public function initContent()
    {
        $this->generateDoubleSection([new Text('title'), new Text('profession')]);

        $this->generateDoubleSection([new Text('department'), new Text('office')]);

        $this->generateDoubleSection([new Text('work_phone'), new Text('mobile_phone')]);

    }

}