Ignore:
Timestamp:
11/03/08 13:48:54 (4 years ago)
Author:
CrawfordCurrie
Message:

Item67: a missing form definition would make a topic uneditable

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/Release04x02/lib/TWiki/Meta.pm

    r21 r413  
    628628    } 
    629629    else { 
    630         return CGI::span( { class => 'twikiAlert' }, 
    631             "Form definition '$fname' not found" ); 
     630 
     631        # Make pseudo-form from field data 
     632        $form = 
     633          new TWiki::Form( $this->{_session}, $this->{_web}, $fname, $this ); 
     634        return CGI::span( 
     635            { class => 'twikiAlert' }, 
     636            "%MAKETEXT{\"Form definition '[_1]' not found\" args=\"$fname\"}%" 
     637        ) . $form->renderForDisplay($this); 
    632638    } 
    633639} 
Note: See TracChangeset for help on using the changeset viewer.