web/views/formrenderers.py
changeset 2293 7ded2a1416e4
parent 2234 1fbcf202882d
parent 2247 9dbbe6a4c9b0
child 2381 caad2367d940
equal deleted inserted replaced
2235:d5987f75c97c 2293:7ded2a1416e4
   501             w(u'<div id="notice-%s" class="notice">%s</div>' % (
   501             w(u'<div id="notice-%s" class="notice">%s</div>' % (
   502                 values['divid'], self.req._('click on the box to cancel the deletion')))
   502                 values['divid'], self.req._('click on the box to cancel the deletion')))
   503         w(u'<div class="iformBody">')
   503         w(u'<div class="iformBody">')
   504         values['removemsg'] = self.req.__('remove this %s' % form.edited_entity.e_schema)
   504         values['removemsg'] = self.req.__('remove this %s' % form.edited_entity.e_schema)
   505         w(u'<div class="iformTitle"><span>%(title)s</span> '
   505         w(u'<div class="iformTitle"><span>%(title)s</span> '
   506           '#<span class="icounter">1</span> '
   506           '#<span class="icounter">%(counter)s</span> '
   507           '[<a href="javascript: %(removejs)s;noop();">%(removemsg)s</a>]</div>'
   507           '[<a href="javascript: %(removejs)s;noop();">%(removemsg)s</a>]</div>'
   508           % values)
   508           % values)
   509         # cleanup values
   509         # cleanup values
   510         for key in ('title', 'removejs', 'removemsg'):
   510         for key in ('title', 'removejs', 'removemsg'):
   511             values.pop(key)
   511             values.pop(key)