equal
deleted
inserted
replaced
358 for linkto in self.req.list_form_param('__linkto'): |
358 for linkto in self.req.list_form_param('__linkto'): |
359 self.form_add_hidden('__linkto', linkto) |
359 self.form_add_hidden('__linkto', linkto) |
360 msg = '%s %s' % (msg, self.req._('and linked')) |
360 msg = '%s %s' % (msg, self.req._('and linked')) |
361 self.form_add_hidden('__message', msg) |
361 self.form_add_hidden('__message', msg) |
362 |
362 |
363 def form_build_context(self, values): |
363 def form_build_context(self, values=None): |
364 self.form_add_entity_hiddens(self.edited_entity.e_schema) |
364 self.form_add_entity_hiddens(self.edited_entity.e_schema) |
365 return super(EntityFieldsForm, self).form_build_context(values) |
365 return super(EntityFieldsForm, self).form_build_context(values) |
366 |
366 |
367 def form_add_entity_hiddens(self, eschema): |
367 def form_add_entity_hiddens(self, eschema): |
368 for field in self.fields[:]: |
368 for field in self.fields[:]: |