X-Git-Url: http://git.shiar.nl/perl/html-form-simple.git/blobdiff_plain/2ee16ffeffbdd0998c60f36a976169789e3c8e27..bb5bd81e03c47ff9cc779c5109bd6e042219a1f8:/lib/HTML/Form/Simple.pm
diff --git a/lib/HTML/Form/Simple.pm b/lib/HTML/Form/Simple.pm
index e2a586d..3a58c79 100644
--- a/lib/HTML/Form/Simple.pm
+++ b/lib/HTML/Form/Simple.pm
@@ -88,7 +88,7 @@ sub hidden {
return $self->tag(input => $attr);
}
-sub input {
+sub text {
my $self = shift;
my ($name, $value, $attr) = $self->_attr(2, @_);
@@ -210,7 +210,7 @@ sub check {
=head1 NAME
-HTML::Form::Simple
+HTML::Form::Simple - Generate HTML form elements
=head1 SYNOPSIS
@@ -235,3 +235,12 @@ HTML::Form::Simple
);
say $input->stop; #
+=head1 AUTHOR
+
+Mischa POSLAWSKY
+
+=head1 LICENSE
+
+This module is free software; you can redistribute it and/or modify it
+under the same L as Perl itself.
+