Differential D8286 Diff 19727 src/applications/releeph/field/specification/ReleephSummaryFieldSpecification.php
Changeset View
Changeset View
Standalone View
Standalone View
src/applications/releeph/field/specification/ReleephSummaryFieldSpecification.php
| Show All 13 Lines | final class ReleephSummaryFieldSpecification | ||||
| } | } | ||||
| public function getStorageKey() { | public function getStorageKey() { | ||||
| return 'summary'; | return 'summary'; | ||||
| } | } | ||||
| private $error = false; | private $error = false; | ||||
| public function renderEditControl() { | public function renderEditControl(array $handles) { | ||||
| return id(new AphrontFormTextControl()) | return id(new AphrontFormTextControl()) | ||||
| ->setLabel('Summary') | ->setLabel('Summary') | ||||
| ->setName('summary') | ->setName('summary') | ||||
| ->setError($this->error) | ->setError($this->error) | ||||
| ->setValue($this->getValue()) | ->setValue($this->getValue()) | ||||
| ->setCaption( | ->setCaption( | ||||
| 'Leave this blank to use the original commit title'); | 'Leave this blank to use the original commit title'); | ||||
| } | } | ||||
| Show All 19 Lines | |||||