public function submit($name, $value, array $attr = null)
    {
        $basic = $this->merge_attr([ 'value' => $value ], $attr);

        return $this->input($name, [ 'type' => 'submit', 'attr' => $basic ]);
    }
public function submit($name, $value, array $attr = null)
    {
        $basic = $this->merge_attr([ 'value' => $value ], $attr);

        return $this->input($name, [ 'type' => 'submit', 'attr' => $basic ]);
    }
public function submit ( $ name , $ value , array $ attr = null ) { $ basic = $ this -> merge_attr ( [ 'value' => $ value ] , $ attr ) ; return $ this -> input ( $ name , [ 'type' => 'submit' , 'attr' => $ basic ] ) ; }
Enregistre un submit.

@param string     $name  Clé unique.
@param string     $value Texte à afficher.
@param array|null $attr  Liste d'attributs.

@return $this
Enregistre un submit .