1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-12-20 20:40:56 +01:00

Update 'Add SSH Key' page

Summary: Uses an ObjectBoxView

Test Plan: added an ssh key

Reviewers: epriestley

Reviewed By: epriestley

CC: Korvin, epriestley, aran

Maniphest Tasks: T4150

Differential Revision: https://secure.phabricator.com/D7645
This commit is contained in:
Chad Little 2013-11-24 19:13:57 -08:00
parent de73029e99
commit b8b80e3896

View file

@ -160,16 +160,12 @@ final class PhabricatorSettingsPanelSSHKeys
->addCancelButton($this->getPanelURI())
->setValue($save));
$header_title = new PHUIHeaderView();
$header_title->setHeader($header);
$form_box = id(new PHUIObjectBoxView())
->setHeaderText($header)
->setFormError($error_view)
->setForm($form);
return id(new AphrontNullView())
->appendChild(
array(
$error_view,
$header_title,
$form,
));
return $form_box;
}
private function renderKeyListView(AphrontRequest $request) {