Permalink
Browse files

typo

  • Loading branch information...
1 parent f4265bc commit 46cd0b8f93f9d756de656b7fc7212caa5e413b3f @gshank committed Sep 21, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/HTML/FormHandler/Manual/RenderingCookbook.pod
@@ -61,7 +61,7 @@ Or use the 'html_attributes' callback:
<in a form>
sub html_attributes {
my ( $self, $field, $type, $attr ) = @_;
- push @{$attr->{class}} = 'required'
+ push @{$attr->{class}}, 'required'
if ( $type eq 'label' && $field->required );
}

0 comments on commit 46cd0b8

Please sign in to comment.