/[Frey]/trunk/lib/Frey/Action.pm
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Diff of /trunk/lib/Frey/Action.pm

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 975 by dpavlin, Fri Jan 9 21:30:06 2009 UTC revision 976 by dpavlin, Fri Jan 9 21:50:21 2009 UTC
# Line 237  sub params_form { Line 237  sub params_form {
237                  } elsif ( $attr_type =~ m{^Bool} ) {                  } elsif ( $attr_type =~ m{^Bool} ) {
238                          my $suffix = '';                          my $suffix = '';
239                          $suffix = ' checked' if $value;                          $suffix = ' checked' if $value;
240                          $value_html = qq|<input type="checkbox" name="$name" title="$attr_type" value="$value"$suffix>|;                          $value_html = qq|<input type="checkbox" name="$name" title="$attr_type" value="1"$suffix>|;
241                          push @checkboxes, $name;                          push @checkboxes, $name;
242                  } elsif ( ! defined $value ) {                  } elsif ( ! defined $value ) {
243                          $value_html = qq|<tt id="$name">undef</tt><!-- $name = undef -->|; # FIXME if $self->debug                          $value_html = qq|<tt id="$name">undef</tt><!-- $name = undef -->|; # FIXME if $self->debug

Legend:
Removed from v.975  
changed lines
  Added in v.976

  ViewVC Help
Powered by ViewVC 1.1.26