added automatic id attribute generation to all form controls
This commit is contained in:
parent
3058d839c0
commit
4c8ff049cc
29 changed files with 116 additions and 25 deletions
|
|
@ -97,7 +97,7 @@ Renders an input tag of type password.
|
|||
sub toHtml {
|
||||
my $self = shift;
|
||||
return '<input type="password" name="'.$self->{name}.'" value="'.$self->fixQuotes($self->{value}).'" size="'.
|
||||
$self->{size}.'" maxlength="'.$self->{maxLength}.'" '.$self->{extras}.' />';
|
||||
$self->{size}.'" id="'.$self->{id}.'" maxlength="'.$self->{maxLength}.'" '.$self->{extras}.' />';
|
||||
}
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue