Parent Directory | Revision Log | 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; |
|
ViewVC Help | |
Powered by ViewVC 1.1.26 |