public function actionEdit($templateId, $languageId = null)
    {
        $editForm = new EditForm([
            'templateId' => $templateId,
            'languageId' => $languageId
        ]);
        return $this->renderForm($editForm, 'edit');
    }
public function actionEdit($templateId, $languageId = null)
    {
        $editForm = new EditForm([
            'templateId' => $templateId,
            'languageId' => $languageId
        ]);
        return $this->renderForm($editForm, 'edit');
    }
public function actionEdit ( $ templateId , $ languageId = null ) { $ editForm = new EditForm ( [ 'templateId' => $ templateId , 'languageId' => $ languageId ] ) ; return $ this -> renderForm ( $ editForm , 'edit' ) ; }
Editing of template

@param integer $templateId
@param null|integer $languageId
@return string
@throws Exception
Editing of template