--- a/src/pyams_i18n/zmi/negotiator.py Thu Feb 19 10:55:01 2015 +0100
+++ b/src/pyams_i18n/zmi/negotiator.py Wed Mar 11 11:58:56 2015 +0100
@@ -33,14 +33,16 @@
class NegotiatorPropertiesEditForm(AdminDialogEditForm):
"""Negotiator properties edit form"""
- legend = _("Update languages negotiator properties")
- fields = field.Fields(INegotiator)
- ajax_handler = 'properties.json'
-
@property
def title(self):
return self.context.__name__
+ legend = _("Update languages negotiator properties")
+
+ fields = field.Fields(INegotiator)
+ ajax_handler = 'properties.json'
+ edit_permission = 'system.manage'
+
def updateWidgets(self, prefix=None):
super(NegotiatorPropertiesEditForm, self).updateWidgets()
self.widgets['server_language'].addClass('select2')