Differential D14591 Diff 35300 src/applications/badges/controller/PhabricatorBadgesEditController.php
Changeset View
Changeset View
Standalone View
Standalone View
src/applications/badges/controller/PhabricatorBadgesEditController.php
Show First 20 Lines • Show All 193 Lines • ▼ Show 20 Lines | if ($is_new) { | ||||
$crumbs->addTextCrumb(pht('Edit')); | $crumbs->addTextCrumb(pht('Edit')); | ||||
} | } | ||||
$box = id(new PHUIObjectBoxView()) | $box = id(new PHUIObjectBoxView()) | ||||
->setValidationException($validation_exception) | ->setValidationException($validation_exception) | ||||
->setHeaderText($title) | ->setHeaderText($title) | ||||
->appendChild($form); | ->appendChild($form); | ||||
return $this->buildApplicationPage( | return $this->newPage() | ||||
->setTitle($title) | |||||
->setCrumbs($crumbs) | |||||
->appendChild( | |||||
array( | array( | ||||
$crumbs, | |||||
$box, | $box, | ||||
), | |||||
array( | |||||
'title' => $title, | |||||
)); | )); | ||||
} | } | ||||
} | } |