Ignore:
Timestamp:
09/14/07 09:58:14 (12 years ago)
Author:
jukka
Message:

ExerciseMaterial?..

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ExerciseMaterial.py

    r2003 r2017  
    4040        default_output_type = 'text/x-html-captioned', 
    4141        default_content_type = 'text/html', 
     42        default=[('','guidelines'),], 
    4243        widget=ExerciseWidget(label = "Body text", 
    4344            label_msgid = "label_bodytext", 
     
    7879        field=self.getField('bodyText') 
    7980        values = field.get(self) 
    80         dump= '\n'.join([x for x in values if not field.isUid(x)]) 
     81        dump= '\n'.join([x[0] for x in values if not x[1]!='piece']) 
    8182        return dump 
    8283 
Note: See TracChangeset for help on using the changeset viewer.