/[Perly]/lib/Perly/View.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 /lib/Perly/View.pm

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

revision 7 by dpavlin, Tue Jun 5 10:59:13 2007 UTC revision 8 by dpavlin, Tue Jun 5 11:32:42 2007 UTC
# Line 24  private template 'code_editor' => sub { Line 24  private template 'code_editor' => sub {
24          }          }
25  };  };
26    
27    template '/upload' => page {
28            h1 { _("Upload new file") },
29            form {
30                    my $action = new_action( class => 'Upload' );
31                    render_action( $action => [ 'file', 'content' ] );
32                    form_submit(
33                            label => _('Upload'),
34                    );
35            }
36    };
37    
38  1;  1;

Legend:
Removed from v.7  
changed lines
  Added in v.8

  ViewVC Help
Powered by ViewVC 1.1.26