--- a/src/pyams_gis/zmi/layer.py Wed Mar 28 15:50:41 2018 +0200
+++ b/src/pyams_gis/zmi/layer.py Wed Apr 11 11:05:22 2018 +0200
@@ -108,6 +108,8 @@
class TileLayerEditForm(AdminDialogEditForm):
"""Tile layer edit form"""
+ prefix = 'tile_properties.'
+
@property
def title(self):
return II18n(self.context).query_attribute('title', request=self.request)
@@ -185,6 +187,8 @@
class WMSLayerEditForm(AdminDialogEditForm):
"""WMS layer edit form"""
+ prefix = 'wms_properties.'
+
@property
def title(self):
return II18n(self.context).query_attribute('title', request=self.request)
@@ -262,6 +266,8 @@
class GeoportalLayerEditForm(AdminDialogEditForm):
"""Geoportal layer edit form"""
+ prefix = 'geoportal_properties.'
+
@property
def title(self):
return II18n(self.context).query_attribute('title', request=self.request)
@@ -339,6 +345,8 @@
class EsriFeatureLayerEditForm(AdminDialogEditForm):
"""ESRI feature layer edit form"""
+ prefix = 'esri_properties.'
+
@property
def title(self):
return II18n(self.context).query_attribute('title', request=self.request)
@@ -416,6 +424,8 @@
class GoogleMapLayerEditForm(AdminDialogEditForm):
"""Google Maps layer edit form"""
+ prefix = 'google_properties.'
+
@property
def title(self):
return II18n(self.context).query_attribute('title', request=self.request)