protected function renderElement($block, $element, $name)
    {
        return $this->mustache->render($block, array(
            'element'   => $element,
            'name'      => $name,
            'type'      => $this->getInputType($name),
            'label'     => str_replace('_', ' ', ucwords($name)) . ':'
        ));
    }
protected function renderElement($block, $element, $name)
    {
        return $this->mustache->render($block, array(
            'element'   => $element,
            'name'      => $name,
            'type'      => $this->getInputType($name),
            'label'     => str_replace('_', ' ', ucwords($name)) . ':'
        ));
    }
protected function renderElement ( $ block , $ element , $ name ) { return $ this -> mustache -> render ( $ block , array ( 'element' => $ element , 'name' => $ name , 'type' => $ this -> getInputType ( $ name ) , 'label' => str_replace ( '_' , ' ' , ucwords ( $ name ) ) . ':' ) ) ; }
Render a single element block

@param  string $block
@param  string $element
@param  string $name
@return string
Render a single element block