/[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 5 by dpavlin, Tue Jun 5 10:53:34 2007 UTC revision 6 by dpavlin, Tue Jun 5 10:59:13 2007 UTC
# Line 13  template '/' => page { Line 13  template '/' => page {
13  private template 'code_editor' => sub {  private template 'code_editor' => sub {
14          form {          form {
15                  my $action = new_action( class => 'CreateCode' );                  my $action = new_action( class => 'CreateCode' );
16                  render_param( $action => 'source', cols => 80, rows => 25, language => 'perl' );                  render_param( $action => 'source', cols => 80, rows => 25, language => 'perl', render_as => 'Jifty::Plugin::CodePress::Textarea' );
17                  #render_action( $action => [ 'source' => { cols => 80, rows => 30 }, ] );                  #render_action( $action => [ 'source' => { cols => 80, rows => 30 }, ] );
18                  form_submit(                  form_submit(
19                          label => _("Save my code"),                          label => _("Save my code"),

Legend:
Removed from v.5  
changed lines
  Added in v.6

  ViewVC Help
Powered by ViewVC 1.1.26