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:
@@ -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,
|
||||||
));
|
));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user