Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

typo

  • Loading branch information...
commit 46cd0b8f93f9d756de656b7fc7212caa5e413b3f 1 parent f4265bc
@gshank authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  lib/HTML/FormHandler/Manual/RenderingCookbook.pod
View
2  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 );
}
Please sign in to comment.
Something went wrong with that request. Please try again.