Added class to I18n widgets container
authorThierry Florac <tflorac@ulthar.net>
Fri, 21 Dec 2018 20:11:10 +0100
changeset 82 884dea4cc870
parent 81 b582b64c2cec
child 83 de6793899993
Added class to I18n widgets container
src/pyams_i18n/widget/templates/i18n-input.pt
--- a/src/pyams_i18n/widget/templates/i18n-input.pt	Tue Oct 09 16:21:02 2018 +0200
+++ b/src/pyams_i18n/widget/templates/i18n-input.pt	Fri Dec 21 20:11:10 2018 +0100
@@ -1,5 +1,7 @@
-<div tal:define="langs view/langs"
-	 tal:attributes="id view/id; name view/name;">
+<div class="i18n-widget"
+	 tal:define="langs view/langs"
+	 tal:attributes="id view/id;
+					 name view/name;">
 	<tal:if condition="python:len(langs) == 1">
 		<div class="clearfix">
 			<tal:var replace="structure python:view.get_widget(tuple(langs)[0]).render()" />