I'd replace line 15 with : 
``` <a class="btn btn-danger confirm" href="<?=$this->url("default" , 
                              array("controller" => "" , 
                                      "action" => "delete" , 
                                      "id" =>  $type->getId()
))?>"> ```