From 7ee2e74969a757fcb0b47902be5d3ed1f3c70c83 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20Sureau?= Date: Wed, 10 Aug 2011 10:28:41 +0200 Subject: [PATCH] Changed 'for' value of checkboxes labels when adding a bill. This is now possible to check the correct box when you click on the label. --- budget/forms.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/budget/forms.py b/budget/forms.py index d797d69..a81d8ca 100644 --- a/budget/forms.py +++ b/budget/forms.py @@ -14,7 +14,7 @@ def select_multi_checkbox(field, ul_class='', **kwargs): if checked: options['checked'] = 'checked' html.append(u'
  • ' % html_params(**options)) - html.append(u'
  • ' % (field_id, label)) + html.append(u'' % (choice_id, label)) html.append(u'') return u''.join(html)