web/views/formrenderers.py
branchstable
changeset 2247 9dbbe6a4c9b0
parent 2198 ac45d4dbaf76
child 2293 7ded2a1416e4
child 2312 af4d8f75c5db
--- a/web/views/formrenderers.py	Thu Jul 02 14:44:23 2009 +0200
+++ b/web/views/formrenderers.py	Thu Jul 02 14:51:37 2009 +0200
@@ -500,7 +500,7 @@
         w(u'<div class="iformBody">')
         values['removemsg'] = self.req.__('remove this %s' % form.edited_entity.e_schema)
         w(u'<div class="iformTitle"><span>%(title)s</span> '
-          '#<span class="icounter">1</span> '
+          '#<span class="icounter">%(counter)s</span> '
           '[<a href="javascript: %(removejs)s;noop();">%(removemsg)s</a>]</div>'
           % values)
         # cleanup values