# HG changeset patch # User Sylvain Thénault # Date 1254842290 -7200 # Node ID 606ce53dc5578ef57a4dd509ba745777119e42cd # Parent 54743fc6172c159b34d05fd4cbae773f9b8502f0 [forms] some style for htable renderer layout diff -r 54743fc6172c -r 606ce53dc557 web/data/cubicweb.css --- a/web/data/cubicweb.css Tue Oct 06 17:16:23 2009 +0200 +++ b/web/data/cubicweb.css Tue Oct 06 17:18:10 2009 +0200 @@ -747,6 +747,21 @@ top: -1px; } +table.htableForm { + vertical-align: middle; +} +table.htableForm td{ + padding-left: 1em; + padding-top: 0.5em; +} +table.htableForm th{ + padding-left: 1em; +} +table.htableForm .validateButton { + margin-right: 0.2em; + vertical-align: top; + margin-bottom: 0.2em; /* because vertical-align doesn't seems to have any effect */ +} /***************************************/ /* error view (views/management.py) */ diff -r 54743fc6172c -r 606ce53dc557 web/views/formrenderers.py --- a/web/views/formrenderers.py Tue Oct 06 17:16:23 2009 +0200 +++ b/web/views/formrenderers.py Tue Oct 06 17:18:10 2009 +0200 @@ -273,7 +273,7 @@ display_help = False def _render_fields(self, fields, w, form): - w(u'') + w(u'
') w(u'') for field in fields: if self.display_label: