<?php

namespace ThurData\Servers\KerioEmail\App\UI\Admin\LoggerManager\Modals;

use ThurData\Servers\KerioEmail\Core\UI\Interfaces\AdminArea;
use \ThurData\Servers\KerioEmail\Core\UI\Widget\Modals\BaseModal;

use \ThurData\Servers\KerioEmail\App\UI\Admin\LoggerManager\Forms\DeleteLoggerForm;

/**
 * DOE DeleteLabelModal controler
 *
 * @autor ThurData <info@thurdata.ch>
 */
class DeleteLoggerModal extends BaseModal implements AdminArea
{
    protected $id    = 'deleteLoggerModal';
    protected $name  = 'deleteLoggerModal';
    protected $title = 'deleteLoggerModal';

    public function initContent()
    {
        $deleteLabelForm = new DeleteLoggerForm();

        $this->replaceSubmitButtonClasses(['btn btn--danger submitForm']);
        
        $this->addForm($deleteLabelForm);
    }
}
