web/views/formrenderers.py
changeset 4073 03681ba6da0b
parent 4023 eae23c40627a
child 4075 e710f4052bd6
equal deleted inserted replaced
4071:e19e586cc74e 4073:03681ba6da0b
   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)