equal
deleted
inserted
replaced
360 |
360 |
361 def open_form(self, form, values): |
361 def open_form(self, form, values): |
362 attrs_fs_label = '' |
362 attrs_fs_label = '' |
363 if self.main_form_title: |
363 if self.main_form_title: |
364 attrs_fs_label += ('<div class="iformTitle"><span>%s</span></div>' |
364 attrs_fs_label += ('<div class="iformTitle"><span>%s</span></div>' |
365 % self.req._(self.main_form_title)) |
365 % self._cw._(self.main_form_title)) |
366 attrs_fs_label += '<div class="formBody">' |
366 attrs_fs_label += '<div class="formBody">' |
367 return attrs_fs_label + super(EntityFormRenderer, self).open_form(form, values) |
367 return attrs_fs_label + super(EntityFormRenderer, self).open_form(form, values) |
368 |
368 |
369 def render_fields(self, w, form, values): |
369 def render_fields(self, w, form, values): |
370 super(EntityFormRenderer, self).render_fields(w, form, values) |
370 super(EntityFormRenderer, self).render_fields(w, form, values) |