<?php

namespace ModulesGarden\HostingQuotaNotifications\App\UI\LoggerManager\Modals;

use ModulesGarden\HostingQuotaNotifications\Core\UI\Interfaces\AdminArea;
use \ModulesGarden\HostingQuotaNotifications\Core\UI\Widget\Modals\BaseModal;

use \ModulesGarden\HostingQuotaNotifications\App\UI\LoggerManager\Forms\DeleteLoggerForm;

/**
 * DOE DeleteLabelModal controler
 *
 * @author Artur Pilch <artur.pi@modulesgarden.com>
 */
class DeleteLoggerModal extends BaseModal implements AdminArea
{
    protected $id    = 'deleteLoggerModal';
    protected $name  = 'deleteLoggerModal';
    protected $title = 'deleteLoggerModal';

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

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