/**
  * @param \_OurBrand_\Quiz\Domain\Model\Exercises\MatchPictureInPictureExercise $exercise
  * @return void
  */
 private function editAssignment($exercise)
 {
     $exercise->setMediaContent('picture', false);
     // remove the standard add picture link in the top of the exercise
     $this->view->assign('mainImage', $exercise->getMainImage());
     $this->view->assign('existingShapes', $exercise->getShapesAsJson());
     $this->view->assign('currentExercise', $exercise);
     $this->view->assign('quiz', $exercise->getQuiz());
 }