diff options
| author | Frédéric Sureau <fred@milka.(none)> | 2011-08-10 10:28:41 +0200 |
|---|---|---|
| committer | Frédéric Sureau <fred@milka.(none)> | 2011-08-10 10:28:41 +0200 |
| commit | 7ee2e74969a757fcb0b47902be5d3ed1f3c70c83 (patch) | |
| tree | 87a021562c6987f72998d94a98da1409dc2d01dd | |
| parent | d820a35c739a5c28cfcbd30f23a1a733bb97c7b1 (diff) | |
| download | ihatemoney-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.
| -rw-r--r-- | budget/forms.py | 2 |
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) |
