Skip to content

Commit

Permalink
Temporarily remove power MIC defaulting to MIC in RAs
Browse files Browse the repository at this point in the history
Because it only works somtimes :p
  • Loading branch information
FreneticScribbler committed Jun 5, 2023
1 parent 54b4440 commit e1b87b4
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions RIGS/views/hs.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,12 +53,6 @@ def get(self, *args, **kwargs):
def get_success_url(self):
return reverse('ra_detail', kwargs={'pk': self.object.pk})

def get_context_data(self, **kwargs):
context = super().get_context_data(**kwargs)
if context['event'].mic:
context['power_mic'] = context['event'].mic
return context


class EventRiskAssessmentEdit(generic.UpdateView):
model = models.RiskAssessment
Expand Down

0 comments on commit e1b87b4

Please sign in to comment.