1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-27 01:02:42 +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:
Chad Little 2013-08-27 09:43:45 -07:00
parent b64b0f9d23
commit 205e66189f

View file

@ -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,
));
}