1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-09-20 01:08:50 +02: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()) ->addCancelButton($this->getPanelURI())
->setValue($save)); ->setValue($save));
$header_title = new PHUIHeaderView(); $form_box = id(new PHUIObjectBoxView())
$header_title->setHeader($header); ->setHeaderText($header)
->setFormError($error_view)
->setForm($form);
return id(new AphrontNullView()) return $form_box;
->appendChild(
array(
$error_view,
$header_title,
$form,
));
} }
private function renderKeyListView(AphrontRequest $request) { private function renderKeyListView(AphrontRequest $request) {