public function content() { $content = parent::content(); if ($this->buttons and !$this->readonly) { $content->append($this->buttons()); } return $content; }