mirror of
https://we.phorge.it/source/phorge.git
synced 2024-11-27 09:12:41 +01:00
Update XHPast forms
Summary: Forms look like others, they do Test Plan: Page reload, I see Reviewers: epriestley Reviewed By: epriestley CC: Korvin, aran Differential Revision: https://secure.phabricator.com/D6826
This commit is contained in:
parent
b64b0f9d23
commit
205e66189f
1 changed files with 7 additions and 7 deletions
|
@ -43,15 +43,15 @@ final class PhabricatorXHPASTViewRunController
|
||||||
id(new AphrontFormSubmitControl())
|
id(new AphrontFormSubmitControl())
|
||||||
->setValue('Parse'));
|
->setValue('Parse'));
|
||||||
|
|
||||||
$panel = new AphrontPanelView();
|
$form_box = id(new PHUIFormBoxView())
|
||||||
$panel->setHeader('Generate XHP AST');
|
->setHeaderText(pht('Generate XHP AST'))
|
||||||
$panel->setWidth(AphrontPanelView::WIDTH_WIDE);
|
->setForm($form);
|
||||||
$panel->appendChild($form);
|
|
||||||
|
|
||||||
return $this->buildStandardPageResponse(
|
return $this->buildApplicationPage(
|
||||||
$panel,
|
$form_box,
|
||||||
array(
|
array(
|
||||||
'title' => 'XHPAST View',
|
'title' => pht('XHPAST View'),
|
||||||
|
'device' => true,
|
||||||
));
|
));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue