Differential D9884 Diff 23734 src/applications/diffusion/controller/DiffusionRepositoryEditBasicController.php
Changeset View
Changeset View
Standalone View
Standalone View
src/applications/diffusion/controller/DiffusionRepositoryEditBasicController.php
Show First 20 Lines • Show All 119 Lines • ▼ Show 20 Lines | public function processRequest() { | ||||
$form | $form | ||||
->appendChild( | ->appendChild( | ||||
id(new PhabricatorRemarkupControl()) | id(new PhabricatorRemarkupControl()) | ||||
->setName('description') | ->setName('description') | ||||
->setLabel(pht('Description')) | ->setLabel(pht('Description')) | ||||
->setValue($v_desc)) | ->setValue($v_desc)) | ||||
->appendChild( | ->appendChild( | ||||
id(new AphrontFormTokenizerControl()) | id(new AphrontFormTokenizerControl()) | ||||
->setDatasource('/typeahead/common/projects/') | ->setDatasource(new PhabricatorProjectDatasource()) | ||||
->setName('projectPHIDs') | ->setName('projectPHIDs') | ||||
->setLabel(pht('Projects')) | ->setLabel(pht('Projects')) | ||||
->setValue($project_handles)) | ->setValue($project_handles)) | ||||
->appendChild( | ->appendChild( | ||||
id(new AphrontFormSubmitControl()) | id(new AphrontFormSubmitControl()) | ||||
->setValue(pht('Save')) | ->setValue(pht('Save')) | ||||
->addCancelButton($edit_uri)) | ->addCancelButton($edit_uri)) | ||||
->appendChild(id(new PHUIFormDividerControl())) | ->appendChild(id(new PHUIFormDividerControl())) | ||||
Show All 34 Lines |