Updated forms
authorThierry Florac <thierry.florac@onf.fr>
Wed, 13 Jun 2018 14:43:13 +0200
changeset 644 e8af44ddd0ae
parent 643 6fa677b3456c
child 645 2e4d8741e2b5
child 666 1ea1df064e25
Updated forms
src/pyams_content/shared/imagemap/zmi/area.py
--- a/src/pyams_content/shared/imagemap/zmi/area.py	Wed Jun 13 14:27:08 2018 +0200
+++ b/src/pyams_content/shared/imagemap/zmi/area.py	Wed Jun 13 14:43:13 2018 +0200
@@ -63,6 +63,9 @@
 
     legend = _("Add new image area")
 
+    label_css_class = 'control-label col-md-2'
+    input_css_class = 'col-md-10'
+
     @property
     def dialog_class(self):
         image = II18n(self.context).query_attribute('image', request=self.request)
@@ -101,6 +104,9 @@
 
     legend = _("Edit image map properties")
 
+    label_css_class = 'control-label col-md-2'
+    input_css_class = 'col-md-10'
+
     @property
     def dialog_class(self):
         image = II18n(self.context.__parent__).query_attribute('image', request=self.request)