Skip to content

Commit

Permalink
Fix for missing check boxes (#2027)
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexanderWatzinger committed Jun 19, 2023
1 parent 1ebe645 commit b5da733
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion openatlas/forms/field.py
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,8 @@ def __call__(
row.insert(
0,
f'<input type="checkbox" value="{entity.name}"'
f' id="{entity.id}{" checked" if entity.id in data else ""}>')
f' id="{entity.id}" '
f'{" checked" if entity.id in data else ""}>')
table.rows.append(row)
return render_template(
'forms/table_multi_select.html',
Expand Down

0 comments on commit b5da733

Please sign in to comment.