public function indexAction()
 {
     $this->assets->addCss('css/bootstrap/bootstrap.min.css')->addCss('css/style.css');
     // $this->tag->textField("email")
     $currentPage = (int) $_GET["page"];
     // The data set to paginate
     $robots = Postovi::find();
     // Create a Model paginator, show 10 rows by page starting from $currentPage
     $paginator = new PaginatorModel(array("data" => $robots, "limit" => 10, "page" => $currentPage));
     // Get the paginated results
     $this->view->page = $paginator->getPaginate();
 }