equal
deleted
inserted
replaced
78 req, w = self._cw, self.w |
78 req, w = self._cw, self.w |
79 _ = req._ |
79 _ = req._ |
80 w(u'<script type="text/javascript">updateMessage(\'%s\');</script>\n' |
80 w(u'<script type="text/javascript">updateMessage(\'%s\');</script>\n' |
81 % _('this action is not reversible!')) |
81 % _('this action is not reversible!')) |
82 # XXX above message should have style of a warning |
82 # XXX above message should have style of a warning |
83 w(u'<h4>%s</h4>\n' % _('Do you want to delete the following element(s) ?')) |
83 w(u'<h4>%s</h4>\n' % _('Do you want to delete the following element(s)?')) |
84 form = self._cw.vreg['forms'].select(self.__regid__, req, |
84 form = self._cw.vreg['forms'].select(self.__regid__, req, |
85 rset=self.cw_rset, |
85 rset=self.cw_rset, |
86 onsubmit=onsubmit) |
86 onsubmit=onsubmit) |
87 w(u'<ul>\n') |
87 w(u'<ul>\n') |
88 for entity in self.cw_rset.entities(): |
88 for entity in self.cw_rset.entities(): |