/**
  * By default this will attempt to edit this post
  */
 protected function handlePost()
 {
     if (!$this->entry) {
         $this->entry = Entry::create([]);
     }
     if (isset($_POST["title"])) {
         $this->entry->title = $_POST["title"];
     }
     if (isset($_POST["subtitle"])) {
         $this->entry->subtitle = $_POST["subtitle"];
     }
     if (isset($_POST["above_entries"])) {
         $this->entry->top_content = $_POST["above_entries"];
     }
     if (isset($_POST["below_entries"])) {
         $this->entry->bottom_content = $_POST["below_entries"];
     }
     if (isset($_POST["template"])) {
         $this->entry->setTemplate($_POST["template"]);
     }
     if (isset($_POST["parent"]) && $_POST["parent"] != "") {
         $this->entry->parent_id = $_POST["parent"];
     }
     if (isset($_POST["using_post"])) {
         $this->entry->using_post = $_POST["using_post"] == "on";
     } else {
         $this->entry->using_post = false;
     }
     if (isset($_POST["post_id"])) {
         $this->entry->post_id = $_POST["post_id"];
     }
     $this->entry->save();
     if ($this->entry->getParent()) {
         header("Location: admin.php?page=collapsing_content&task=edit_entry&id=" . $this->entry->getParent()->id);
     } else {
         header("Location: admin.php?page=collapsing_content&task=view_entries");
     }
 }