--- a/src/pyams_ldap/zmi/templates/ldap-attributes.pt Wed Apr 11 11:11:01 2018 +0200
+++ b/src/pyams_ldap/zmi/templates/ldap-attributes.pt Wed Apr 11 11:30:36 2018 +0200
@@ -1,11 +1,15 @@
-<table class="table table-bordered table-striped table-hover table-tight datatable">
- <tr>
- <th>Attribute name</th>
- <th>Value</th>
- </tr>
- <tr tal:repeat="attr view.attributes">
- <td tal:content="attr[0]"></td>
- <td tal:define="value attr[1]"
- tal:content="structure view.br.join(sorted(value)) if isinstance(value, list) else value"></td>
- </tr>
+<table class="table table-bordered table-striped table-hover table-tight datatable margin-top-30">
+ <thead>
+ <tr>
+ <th>Attribute name</th>
+ <th>Value</th>
+ </tr>
+ </thead>
+ <tbody>
+ <tr tal:repeat="attr view.attributes">
+ <td tal:content="attr[0]"></td>
+ <td tal:define="value attr[1]"
+ tal:content="structure view.br.join(sorted(value)) if isinstance(value, list) else value"></td>
+ </tr>
+ </tbody>
</table>