Show which capability is being edited in custom policy dialog

Summary: Fixes T7867.

Test Plan: {F392844}

Reviewers: btrahan

Reviewed By: btrahan

Subscribers: epriestley

Maniphest Tasks: T7867

Differential Revision: https://secure.phabricator.com/D12716
This commit is contained in:
epriestley
2015-05-05 15:59:56 -07:00
parent a5402c46b2
commit 7c063c7d63
4 changed files with 30 additions and 25 deletions

View File

@@ -179,6 +179,7 @@ final class AphrontFormPolicyControl extends AphrontFormControl {
'icons' => $icons,
'labels' => $labels,
'value' => $this->getValue(),
'capability' => $this->capability,
'customPlaceholder' => $this->getCustomPolicyPlaceholder(),
));