+ my $self = shift;
+ my $name = shift;
+ my $value = shift;
+ my %attributes = _hashify(@_);
+
+ $attributes{onclick} = "if (confirm('" . delete($attributes{confirm}) . "')) return true; else return false;" if $attributes{confirm};
+
+ return $self->input_tag($name, $value, %attributes, type => 'submit', class => 'submit');