-$selectedLayout = paramdeep('plateAuthorizations','printLayout')
-if(empty($selectedLayout))
  ='Layout not found'
-else
  -$this->renderPartial("printLayouts/$selectedLayout/index", array('permit'=>$permit))


