equal
deleted
inserted
replaced
476 class CompoundField(Field): |
476 class CompoundField(Field): |
477 def __init__(self, fields, *args, **kwargs): |
477 def __init__(self, fields, *args, **kwargs): |
478 super(CompoundField, self).__init__(*args, **kwargs) |
478 super(CompoundField, self).__init__(*args, **kwargs) |
479 self.fields = fields |
479 self.fields = fields |
480 |
480 |
|
481 def subfields(self, form): |
|
482 return self.fields |
|
483 |
481 def actual_fields(self, form): |
484 def actual_fields(self, form): |
482 return [self] + list(self.fields) |
485 return [self] + list(self.fields) |
483 |
486 |
484 |
487 |
485 def guess_field(eschema, rschema, role='subject', skip_meta_attr=True, **kwargs): |
488 def guess_field(eschema, rschema, role='subject', skip_meta_attr=True, **kwargs): |