public function submit($name, $label, $attr = array())
    {
        return $this->input(
            $name,
            false,
            array_merge(
                $attr,
                array(
                    'type' => 'submit',
                    'value' => $label
                )
            )
        );
    }
public function submit($name, $label, $attr = array())
    {
        return $this->input(
            $name,
            false,
            array_merge(
                $attr,
                array(
                    'type' => 'submit',
                    'value' => $label
                )
            )
        );
    }
public function submit ( $ name , $ label , $ attr = array ( ) ) { return $ this -> input ( $ name , false , array_merge ( $ attr , array ( 'type' => 'submit' , 'value' => $ label ) ) ) ; }
generate a submit input

@param   string  dot notation form for input - will match with Input handler and prefill if found
@param   string  label for form, pass false to not show label
@param   array   array of extra options for the input
@return  string  form element
generate a submit input