[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.
/* styles for input with suggestions (as for tags and keywords)
*
* :organization: Logilab
* :copyright: 2003-2008 LOGILAB S.A. (Paris, FRANCE), all rights reserved.
* :contact: http://www.logilab.fr/ -- mailto:contact@logilab.fr
*/
div.sgform div.combobox {
z-index: 300;
margin-left: 3px;
width: 150px;
}
div.sgform div.combobox input.suggestions {
width: 100%;
}
div.sgform select{
width: 155px;
}
div.sgformbuttons {
margin-left: 3px;
}
div.sgformbuttons a {
font-weight: bold;
padding:2px 0px;
}
a.sglink {
color: #000;
font-weight: bold;
display: block;
background: url("puce.png") 98% 5px no-repeat;
margin-left: 3px;
padding: 2px 16px 2px 0px;
}
div.suggholder {
z-index: 300;
position: absolute;
}