# Resubmission view refactoring

* refactors resubmission view for eiv, kom, oek, ema
* removes unused attributes on BaseModalFormView
This commit is contained in:
2025-10-21 17:03:12 +02:00
parent 1fc1b533cd
commit 3a9c4e13f6
12 changed files with 69 additions and 106 deletions
-2
View File
@@ -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):