mirror of
https://we.phorge.it/source/phorge.git
synced 2024-11-10 08:52:39 +01:00
Change PHUIPagedFormView to extend AphrontView
Summary: Debugging crumbs in repository editing, and it seems there are stray divs that aren't used from extending AphrontTagView. I don't see any specific reason this needs to be from AphrontTagView, so changing it. Of course I'm not sure this is correct, so feel free to reject if I'm missing some obvious or non-obvious reasons. Test Plan: Review editing a repositor, don't see extra div. Reviewers: btrahan, epriestley Reviewed By: epriestley Subscribers: Korvin, epriestley Differential Revision: https://secure.phabricator.com/D11608
This commit is contained in:
parent
f400a18b20
commit
582e13fc38
1 changed files with 2 additions and 2 deletions
|
@ -3,7 +3,7 @@
|
|||
/**
|
||||
* @task page Managing Pages
|
||||
*/
|
||||
final class PHUIPagedFormView extends AphrontTagView {
|
||||
final class PHUIPagedFormView extends AphrontView {
|
||||
|
||||
private $name = 'pages';
|
||||
private $pages = array();
|
||||
|
@ -220,7 +220,7 @@ final class PHUIPagedFormView extends AphrontTagView {
|
|||
return $this->cancelURI;
|
||||
}
|
||||
|
||||
protected function getTagContent() {
|
||||
public function render() {
|
||||
$form = id(new AphrontFormView())
|
||||
->setUser($this->getUser());
|
||||
|
||||
|
|
Loading…
Reference in a new issue