protected function initTemplate()
{
$args = $this->arguments;
// style(type) = panel, fieldset
$style = array_get($args, 'type', 'panel');
if (array_get($args, 'action') === null) {
if ($style === 'fieldset') {
$this->template = '<div></div>';
} else {
$this->template = '<div class="panel-group"></div>';
}
} else {
$this->template = '<form method="POST" enctype="multipart/form-data"></form>';
}
}