Update forms to use PHUIFormBoxView
Summary: Some more callsites, let me know if you see others, I think think is 98% of them now. Test Plan: tested each page Reviewers: epriestley, btrahan Reviewed By: btrahan CC: Korvin, aran Differential Revision: https://secure.phabricator.com/D6814
This commit is contained in:
@@ -81,13 +81,13 @@ final class DiffusionCommitEditController extends DiffusionController {
|
||||
->addCancelButton('/r'.$callsign.$commit->getCommitIdentifier());
|
||||
$form->appendChild($submit);
|
||||
|
||||
$header = new PhabricatorHeaderView();
|
||||
$header->setHeader(pht('Edit Diffusion Commit'));
|
||||
$form_box = id(new PHUIFormBoxView())
|
||||
->setHeaderText($page_title)
|
||||
->setForm($form);
|
||||
|
||||
return $this->buildApplicationPage(
|
||||
array(
|
||||
$header,
|
||||
$form,
|
||||
$form_box,
|
||||
),
|
||||
array(
|
||||
'title' => $page_title,
|
||||
|
||||
Reference in New Issue
Block a user