aboutsummaryrefslogtreecommitdiff
path: root/budget
diff options
context:
space:
mode:
authorFrédéric Sureau <fred@milka.(none)>2011-08-10 10:28:41 +0200
committerFrédéric Sureau <fred@milka.(none)>2011-08-10 10:28:41 +0200
commit7ee2e74969a757fcb0b47902be5d3ed1f3c70c83 (patch)
tree87a021562c6987f72998d94a98da1409dc2d01dd /budget
parentd820a35c739a5c28cfcbd30f23a1a733bb97c7b1 (diff)
downloadihatemoney-mirror-7ee2e74969a757fcb0b47902be5d3ed1f3c70c83.zip
ihatemoney-mirror-7ee2e74969a757fcb0b47902be5d3ed1f3c70c83.tar.gz
ihatemoney-mirror-7ee2e74969a757fcb0b47902be5d3ed1f3c70c83.tar.bz2
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.
Diffstat (limited to 'budget')
-rw-r--r--budget/forms.py2
1 files changed, 1 insertions, 1 deletions
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'<li><input %s /> ' % html_params(**options))
- html.append(u'<label for="%s">%s</label></li>' % (field_id, label))
+ html.append(u'<label for="%s">%s</label></li>' % (choice_id, label))
html.append(u'</ul>')
return u''.join(html)