Added clearfix in form templates
authorThierry Florac <thierry.florac@onf.fr>
Wed, 28 Mar 2018 15:49:26 +0200
changeset 93 a2b5525eb686
parent 92 c91ef880b47d
child 94 2c4e369472fb
Added clearfix in form templates
src/pyams_form/templates/form.pt
src/pyams_form/templates/inner-form.pt
src/pyams_form/templates/widget-form.pt
--- a/src/pyams_form/templates/form.pt	Wed Mar 28 15:30:55 2018 +0200
+++ b/src/pyams_form/templates/form.pt	Wed Mar 28 15:49:26 2018 +0200
@@ -56,6 +56,7 @@
 						 tal:define="prefix provider:widgets_prefix"
 						 tal:condition="prefix"
 						 tal:content="structure prefix">Widgets prefix</div>
+					<div class="clearfix"></div>
 					<tal:loop repeat="group view.groups">
 						<fieldset tal:define="legend group.legend"
 								  tal:omit-tag="not:legend"
--- a/src/pyams_form/templates/inner-form.pt	Wed Mar 28 15:30:55 2018 +0200
+++ b/src/pyams_form/templates/inner-form.pt	Wed Mar 28 15:49:26 2018 +0200
@@ -41,6 +41,7 @@
 				 tal:define="prefix provider:widgets_prefix"
 				 tal:condition="prefix"
 				 tal:content="structure prefix">Widgets prefix</div>
+			<div class="clearfix"></div>
 			<tal:loop repeat="group view.groups">
 				<fieldset tal:define="legend group.legend"
 						  tal:omit-tag="not:legend"
--- a/src/pyams_form/templates/widget-form.pt	Wed Mar 28 15:30:55 2018 +0200
+++ b/src/pyams_form/templates/widget-form.pt	Wed Mar 28 15:49:26 2018 +0200
@@ -35,6 +35,7 @@
 						 tal:define="prefix provider:widgets_prefix"
 						 tal:condition="prefix"
 						 tal:content="structure prefix">Widgets prefix</div>
+					<div class="clearfix"></div>
 					<tal:loop repeat="group view.groups">
 						<fieldset tal:define="legend group.legend"
 								  tal:omit-tag="not:legend"