top vertical alignment for table cells
This commit is contained in:
parent
cb2ac10524
commit
61484aea70
1 changed files with 5 additions and 3 deletions
|
@ -24,10 +24,12 @@
|
|||
col['name'] != 'text' and 'center' or None"
|
||||
tal:content="col/label" />
|
||||
</tr>
|
||||
<tr tal:repeat="fbitem feedback">
|
||||
<td tal:content="fbitem/category" />
|
||||
<tr style="vertical-align: top"tal:repeat="fbitem feedback">
|
||||
<td style="vertical-align: top"
|
||||
tal:content="fbitem/category" />
|
||||
<tal:cols repeat="col item/feedbackColumns">
|
||||
<td tal:define="name col/name"
|
||||
<td style="vertical-align: top"
|
||||
tal:define="name col/name"
|
||||
tal:attributes="class python:name != 'text' and 'center' or None"
|
||||
tal:content="fbitem/?name" />
|
||||
</tal:cols>
|
||||
|
|
Loading…
Add table
Reference in a new issue