15 |
my $action = new_action( class => 'CreateCode' ); |
my $action = new_action( class => 'CreateCode' ); |
16 |
render_param( $action => 'source', cols => 80, rows => 25 ); |
render_param( $action => 'source', cols => 80, rows => 25 ); |
17 |
#render_action( $action => [ 'source' => { cols => 80, rows => 30 }, ] ); |
#render_action( $action => [ 'source' => { cols => 80, rows => 30 }, ] ); |
18 |
form_submit( label => _("Save my code") ); |
form_submit( |
19 |
|
label => _("Save my code"), |
20 |
|
onclick => [ |
21 |
|
{ beforeclick => "CodePress.beforeSubmit();" }, |
22 |
|
], |
23 |
|
); |
24 |
} |
} |
25 |
}; |
}; |
26 |
|
|