<?php
/**
 * Class DeleteListModal
 * User: ThurData
 * Date: 2019-10-01
 * Time: 11:25
 * @package ThurData\Servers\KerioEmail\App\UI\Client\DistributionList\Modals
 */

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


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

class DeleteListModal extends BaseModal implements ClientArea
{

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

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

}