src/BoomCMS/Http/Controllers/Page/Version.php
public function getTemplate(Page $page)
    {
        $this->authorize('editTemplate', $page);

        return view("$this->viewPrefix.template", [
            'current'   => $page->getTemplate(),
            'templates' => TemplateFacade::findValid(),
        ]);
    }
public function getTemplate(Page $page)
    {
        $this->authorize('editTemplate', $page);

        return view("$this->viewPrefix.template", [
            'current'   => $page->getTemplate(),
            'templates' => TemplateFacade::findValid(),
        ]);
    }
public function getTemplate ( Page $ page ) { $ this -> authorize ( 'editTemplate' , $ page ) ; return view ( "$this->viewPrefix.template" , [ 'current' => $ page -> getTemplate ( ) , 'templates' => TemplateFacade :: findValid ( ) , ] ) ; }
Show a form to change the template of the page.

@param Page $page

@return View
Show a form to change the template of the page .