web/views/autoform.py
branchstable
changeset 9870 d30ff49d4a94
parent 9869 e2f96b16c3bd
child 9893 cba05de9a1a0
--- a/web/views/autoform.py	Mon Jun 02 12:23:18 2014 +0200
+++ b/web/views/autoform.py	Mon Jun 02 12:29:37 2014 +0200
@@ -504,15 +504,15 @@
                 label = rschema.display_name(req, role, context=form.edited_entity.cw_etype)
                 w(u'<tr><th class="labelCol">%s</th>' % label)
                 w(u'<td>')
-                w(u'<ul>')
+                w(u'<ul class="list-unstyled">')
                 for viewparams in related:
-                    w(u'<li class="invisible">%s<span id="span%s" class="%s">%s</span></li>'
+                    w(u'<li>%s<span id="span%s" class="%s">%s</span></li>'
                       % (viewparams[1], viewparams[0], viewparams[2], viewparams[3]))
                 if not form.force_display and form.maxrelitems < len(related):
-                    link = (u'<span class="invisible">'
+                    link = (u'<span>'
                             '[<a href="javascript: window.location.href+=\'&amp;__force_display=1\'">%s</a>]'
                             '</span>' % _('view all'))
-                    w(u'<li class="invisible">%s</li>' % link)
+                    w(u'<li>%s</li>' % link)
                 w(u'</ul>')
                 w(u'</td>')
                 w(u'</tr>')