private function createEditForm(Episode $entity)
    {
        $form = $this->createForm(
            new EpisodeType(),
            $entity,
            [
                'action' => $this->generateUrl(
                    'oktolab_episode_update',
                    ['id' => $entity->getId()]
                ),
                'method' => 'POST'
            ]
        );

        $form->add(
            'submit',
            'submit',
            ['label' => 'oktolab_media.edit_episode_button']
        );

        return $form;
    }