mirror of
https://we.phorge.it/source/phorge.git
synced 2024-12-30 01:10:58 +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())
|
->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) {
|
||||||
|
|
Loading…
Reference in a new issue