mirror of
https://we.phorge.it/source/phorge.git
synced 2024-11-23 15:22: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())
|
||||
->setValue('Parse'));
|
||||
|
||||
$panel = new AphrontPanelView();
|
||||
$panel->setHeader('Generate XHP AST');
|
||||
$panel->setWidth(AphrontPanelView::WIDTH_WIDE);
|
||||
$panel->appendChild($form);
|
||||
$form_box = id(new PHUIFormBoxView())
|
||||
->setHeaderText(pht('Generate XHP AST'))
|
||||
->setForm($form);
|
||||
|
||||
return $this->buildStandardPageResponse(
|
||||
$panel,
|
||||
return $this->buildApplicationPage(
|
||||
$form_box,
|
||||
array(
|
||||
'title' => 'XHPAST View',
|
||||
'title' => pht('XHPAST View'),
|
||||
'device' => true,
|
||||
));
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue