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:
parent
de73029e99
commit
b8b80e3896
1 changed files with 5 additions and 9 deletions
|
@ -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) {
|
||||
|
|
Loading…
Reference in a new issue