fix copy/paste error in error message
This commit is contained in:
parent
9eab499acc
commit
06056b7aa0
|
@ -1827,7 +1827,7 @@ class MapField(WidgetField):
|
|||
if (initial_zoom and min_zoom and int(initial_zoom) < int(min_zoom)) or (
|
||||
(initial_zoom and max_zoom and int(initial_zoom) > int(max_zoom))):
|
||||
form.get_widget('initial_zoom').set_error(
|
||||
_('Minimal zoom level must be between minimal and maximal zoom levels.'))
|
||||
_('Initial zoom level must be between minimal and maximal zoom levels.'))
|
||||
|
||||
def get_admin_attributes(self):
|
||||
return WidgetField.get_admin_attributes(self) + ['initial_zoom',
|
||||
|
|
Loading…
Reference in New Issue