--- trunk/lib/Frey/Introspect.pm 2008/07/14 23:39:56 128 +++ trunk/lib/Frey/Introspect.pm 2008/07/15 13:58:07 133 @@ -149,10 +149,9 @@ if ( $class->get_attribute_list ) { @attributes = map { my $attr = $class->get_attribute($_); -# warn "## $_ ", $attr->is_required ? 'required' : 'optional'; - qq|$_| . - ( $attr->is_required ? ' required' : '' ) . - qq||; + my ( $before, $title, $after ) = ( '', '', '' ); + ( $before, $title, $after ) = ( '', ' title="required"', '' ) if $attr->is_required; + qq|$before$_$after| } sort $class->get_attribute_list }