# NewEcoAccount EditEcoAccount view
* refactors new and edit eco account views from function to class based * removes info message if checked intervention is altered and loses the current checked state * updates comments/documentation * removes code duplicates * fixes display error where modal form was hidden behind menu bar of map client * fixes bug where compensation could not be created directly from intervention
This commit is contained in:
@@ -46,10 +46,6 @@ class NewEmaFormView(BaseNewSpatialLocatedObjectFormView):
|
||||
# User has to be an ets user
|
||||
return user.is_ets_user()
|
||||
|
||||
def _user_has_shared_access(self, user, **kwargs):
|
||||
# No specific share constraint for creatin EMA entries
|
||||
return True
|
||||
|
||||
|
||||
class EditEmaFormView(BaseEditSpatialLocatedObjectFormView):
|
||||
_MODEL_CLS = Ema
|
||||
|
||||
Reference in New Issue
Block a user