<?php
/**
 * Class MassDeleteAccountModal
 * User: ThurData
 * Date: 2019-10-11
 * Time: 11:29
 * @package ThurData\Servers\KerioEmail\App\UI\Client\EmailAccount\Modals
 */

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

use ThurData\Servers\KerioEmail\App\UI\Client\EmailAccount\Forms\MassDeleteAccountForm;
use ThurData\Servers\KerioEmail\Core\UI\Interfaces\ClientArea;
use ThurData\Servers\KerioEmail\Core\UI\Widget\Modals\BaseModal;

class MassDeleteAccountModal extends BaseModal implements ClientArea
{

    protected $id    = 'massDeleteAccountModal';
    protected $name  = 'massDeleteAccountModal';
    protected $title = 'massDeleteAccountModal';

    public function initContent()
    {
        $this->setSubmitButtonClassesDanger();
        $this->setModalTitleTypeDanger();
        $this->addForm(new MassDeleteAccountForm());
    }

}