<?php

namespace ModulesGarden\Servers\ZimbraEmail\App\UI\Client\Ressource\Modals;


use ModulesGarden\Servers\ZimbraEmail\App\UI\Client\Ressource\Forms\DeleteRessourceForm;
use ModulesGarden\Servers\ZimbraEmail\App\UI\Client\Ressource\Forms\EditRessourceForm;
use ModulesGarden\Servers\ZimbraEmail\Core\UI\Interfaces\ClientArea;
use ModulesGarden\Servers\ZimbraEmail\Core\UI\Widget\Modals\BaseModal;

/**
 *
 * Created by PhpStorm.
 * User: Tomasz Bielecki ( tomasz.bi@modulesgarden.com )
 * Date: 18.09.19
 * Time: 11:28
 * Class DeleteRessourceModal
 */
class DeleteRessourceModal extends BaseModal implements ClientArea
{

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

    public function initContent()
    {
        $this->setSubmitButtonClassesDanger();
        $this->setModalTitleTypeDanger();

        $this->addForm(new DeleteRessourceForm());
    }

}