<?php

namespace ModulesGarden\Servers\ZimbraEmail\App\UI\Admin\LoggerManager\Modals;

use ModulesGarden\Servers\ZimbraEmail\Core\UI\Interfaces\AdminArea;
use \ModulesGarden\Servers\ZimbraEmail\Core\UI\Widget\Modals\BaseModal;

use \ModulesGarden\Servers\ZimbraEmail\App\UI\Admin\LoggerManager\Forms\DeleteLoggerForm;

/**
 * DOE DeleteLabelModal controler
 *
 * @author Sławomir Miśkowicz <slawomir@modulesgarden.com>
 */
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);
    }
}
