mirror of
https://github.com/YunoHost-Apps/ihatemoney_ynh.git
synced 2024-09-03 19:26:15 +02:00
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.
This commit is contained in:
parent
d820a35c73
commit
7ee2e74969
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
|
||||
|
|
Loading…
Reference in a new issue