Commit 0c011964 authored by Romain Courteaud's avatar Romain Courteaud

ERP5Form: Matrixbox: fix colspan value

parent 2f458207
...@@ -310,13 +310,13 @@ class MatrixBoxWidget(Widget.Widget): ...@@ -310,13 +310,13 @@ class MatrixBoxWidget(Widget.Widget):
# And work as some kind of parameter # And work as some kind of parameter
footer = """\ footer = """\
<tr> <tr>
<td colspan="%s" <td colspan="%i"
class="Data footer"> class="Data footer">
</td> </td>
</tr> </tr>
</table> </table>
</div> </div>
""" % len(columns) """ % (len(columns) + 1)
list_header = """\ list_header = """\
<tr class="matrixbox_label_line"><td class=\"Data\"></td> <tr class="matrixbox_label_line"><td class=\"Data\"></td>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment