[forms] fix multiple edit bug introduced by changeset cebdf8ee5ad7
Changeset cebdf8ee5ad7 assumed that edited entity was either explicitly
passed to the form or found in first row / first col of the resultset
because of the one_line_rset() selector.
But one_line_rset() is actually trickier : the selector returns 1
if the resultset has more than one row **if** an explicit row is
specified during selection process. This is exactly what is done
in the 'muledit' form :
for row in xrange(len(self.rset)):
form = self.vreg['forms'].select('edition', self.req,
rset=self.rset, row=row, #...
This changeset thus takes row in consideration to find edited entity
if 'row' was explcitly specified.
table.tree {
border-collapse: collapse;
}
table.tree td {
padding: 0px;
}
div.tree_cell {
border: 1px solid black;
margin-top: 2px;
margin-bottom: 2px;
margin-left: 0px;
margin-right: 0px;
padding-top: 2px;
padding-bottom: 2px;
padding-left: 5px;
padding-right: 5px;
}
div.selected {
border: 2px solid black;
background-color: #ccc;
}
table.tree td.tree_cell {
padding: 0px;
}
table.tree td.tree_cell_1_1,
td.tree_cell_1_2 {
border-bottom: 1px solid black;
}
table.tree td.tree_cell_1_3 {
border-right: 1px solid black;
}
table.tree td.tree_cell_1_4 {
border: 0px;
}
table.tree td.tree_cell_2_1,
td.tree_cell_2_3 {
border-right: 1px solid black;
}
table.tree td.tree_cell_2_2,
td.tree_cell_2_4 {
border: 0px;
}
table.tree td.tree_cell_3_1,
td.tree_cell_3_3 {
border-right: 1px solid black;
}
table.tree td.tree_cell_3_2 {
border-bottom: 1px solid black;
}
table.tree td.tree_cell_3_4 {
border: 0px;
}
table.tree td.tree_cell_4_1 {
border-right: 1px solid black;
}
table.tree td.tree_cell_4_2 {
border-bottom: 1px solid black;
}
table.tree td.tree_cell_4_3,
td.tree_cell_4_4 {
border: 0px;
}
table.tree td.tree_cell_5_1,
td.tree_cell_5_2 {
border-bottom: 1px solid black;
}
table.tree td.tree_cell_5_3,
td.tree_cell_5_4 {
border: 0px;
}
table.tree td.tree_cell_0_1,
td.tree_cell_0_2,
td.tree_cell_0_3,
td.tree_cell_0_4 {
border: 0px;
}