added sol100 and chado cvterm pages to validate_all.t
[sgn.git] / lib / CXGN / Page / Form / EditablePasswordField.pm
blobed11eb9db56e2490121ea0974cd9537781d8383c
1 =head1 NAME
3 EditablePasswordField.pm -- implements an editable password field on a html form.
5 =head1 DESCRIPTION
7 Please see L<CXGN::Page::Form> for more information.
9 =head1 AUTHOR(S)
11 Evan Herbst
13 =cut
16 use strict;
17 use CXGN::Page::Form::PasswordField;
20 package CXGN::Page::Form::EditablePasswordField;
22 use base qw / CXGN::Page::Form::PasswordField /;
24 sub new {
25 my $class = shift;
26 my $self = $class->SUPER::new(@_);
27 return $self;
30 sub render {
31 my $self = shift;
33 return " <input type=\"password\" id=\"" . $self->get_id() . "\" name=\"".$self->get_field_name()."\" value=\"".$self->get_contents()."\" size=\"".$self->get_length()."\" />\n";
37 return 1;