def prepare_data(self):
result = {}<EOL>for field in self.fields:<EOL><INDENT>data = self.data.get(field.name)<EOL>result[field.name] = field.prepare_data(data)<EOL><DEDENT>return result<EOL>
Prepare widget data for template.