Skip to content

Commit

Permalink
concatenate error to class in wrapper base
Browse files Browse the repository at this point in the history
  • Loading branch information
gshank committed Dec 22, 2011
1 parent 65eb469 commit ba0889d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/HTML/FormHandler/Widget/Wrapper/Base.pm
Expand Up @@ -27,7 +27,7 @@ sub render_class {
push @{$attr{class}}, 'error';
}
else {
$attr{class} = $attr{class} ? ' error' : 'error';
$attr{class} .= $attr{class} ? ' error' : 'error';
}
}
my $output = process_attrs(\%attr);
Expand Down

0 comments on commit ba0889d

Please sign in to comment.