Differential D10900 Diff 26187 src/applications/slowvote/controller/PhabricatorSlowvoteEditController.php
Changeset View
Changeset View
Standalone View
Standalone View
src/applications/slowvote/controller/PhabricatorSlowvoteEditController.php
Show First 20 Lines • Show All 157 Lines • ▼ Show 20 Lines | $form = id(new AphrontFormView()) | ||||
id(new AphrontFormTextAreaControl()) | id(new AphrontFormTextAreaControl()) | ||||
->setHeight(AphrontFormTextAreaControl::HEIGHT_VERY_SHORT) | ->setHeight(AphrontFormTextAreaControl::HEIGHT_VERY_SHORT) | ||||
->setLabel(pht('Question')) | ->setLabel(pht('Question')) | ||||
->setName('question') | ->setName('question') | ||||
->setValue($v_question) | ->setValue($v_question) | ||||
->setError($e_question)) | ->setError($e_question)) | ||||
->appendChild( | ->appendChild( | ||||
id(new PhabricatorRemarkupControl()) | id(new PhabricatorRemarkupControl()) | ||||
->setUser($user) | |||||
->setLabel(pht('Description')) | ->setLabel(pht('Description')) | ||||
->setName('description') | ->setName('description') | ||||
->setValue($v_description)) | ->setValue($v_description)) | ||||
->appendChild( | ->appendChild( | ||||
id(new AphrontFormTokenizerControl()) | id(new AphrontFormTokenizerControl()) | ||||
->setLabel(pht('Projects')) | ->setLabel(pht('Projects')) | ||||
->setName('projects') | ->setName('projects') | ||||
->setValue($project_handles) | ->setValue($project_handles) | ||||
▲ Show 20 Lines • Show All 109 Lines • Show Last 20 Lines |