Move PHUIFormBoxView to PHUIObjectBoxView

Summary: I'd like to reuse this for other content areas, renaming for now. This might be weird to keep setForm, but I can fix that later if we need.

Test Plan: reload a few forms in maniphest, projects, differential

Reviewers: epriestley, btrahan

Reviewed By: epriestley

CC: Korvin, aran

Differential Revision: https://secure.phabricator.com/D7120
This commit is contained in:
Chad Little
2013-09-25 11:23:29 -07:00
parent 225a38c7d3
commit 9be7a948f9
55 changed files with 119 additions and 112 deletions

View File

@@ -257,12 +257,12 @@ final class PhabricatorMacroEditController
id(new AphrontFormSubmitControl())
->setValue(pht('Upload File')));
$upload = id(new PHUIFormBoxView())
$upload = id(new PHUIObjectBoxView())
->setHeaderText(pht('Upload New File'))
->setForm($upload_form);
}
$form_box = id(new PHUIFormBoxView())
$form_box = id(new PHUIObjectBoxView())
->setHeaderText($title)
->setFormError($error_view)
->setForm($form);