Page MenuHomePhabricator

D7645.diff

diff --git a/src/applications/settings/panel/PhabricatorSettingsPanelSSHKeys.php b/src/applications/settings/panel/PhabricatorSettingsPanelSSHKeys.php
--- a/src/applications/settings/panel/PhabricatorSettingsPanelSSHKeys.php
+++ b/src/applications/settings/panel/PhabricatorSettingsPanelSSHKeys.php
@@ -160,16 +160,12 @@
->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) {

File Metadata

Mime Type
text/x-diff
Storage Engine
amazon-s3
Storage Format
Raw Data
Storage Handle
phabricator/pp/tp/4u3tbszdjpnobhay
Default Alt Text
D7645.diff (880 B)

Event Timeline