/**
* Reload default template.
*
* @param string $name
* @param string $value
* @param string $id
* @param string $text
* @param array $attrs
* @return string
*/
protected function _elementTpl($name, $value = '', $id = '', $text = '', array $attrs = array())
{
$alias = Str::slug($value, true);
$inpClass = 'jb-val-' . $alias;
$input = $this->input($name, $value, $id, $inpClass, $attrs);
$text = '<span class="label-title">' . $text . '</span>';
$html = $this->label($id, $alias, $input . $text);
return '<div class="jb-input jb-checkbox">' . $html . '</div>';
}