# Resubmission view refactoring
* refactors resubmission view for eiv, kom, oek, ema * removes unused attributes on BaseModalFormView
This commit is contained in:
@@ -10,7 +10,6 @@ from django.utils.translation import gettext_lazy as _
|
||||
|
||||
from intervention.forms.modals.check import CheckModalForm
|
||||
from intervention.models import Intervention
|
||||
from konova.utils.message_templates import INTERVENTION_INVALID
|
||||
from konova.views.base import BaseModalFormView
|
||||
|
||||
|
||||
@@ -18,7 +17,6 @@ class InterventionCheckView(LoginRequiredMixin, BaseModalFormView):
|
||||
_MODEL_CLS = Intervention
|
||||
_FORM_CLS = CheckModalForm
|
||||
_MSG_SUCCESS = _("Check performed")
|
||||
_MSG_ERROR = INTERVENTION_INVALID
|
||||
_REDIRECT_URL = "intervention:detail"
|
||||
|
||||
def _user_has_permission(self, user):
|
||||
|
||||
Reference in New Issue
Block a user