1
0
Fork 0
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:
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()) 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,
)); ));
} }