Add an "instructions" key to custom fields

Summary: Ref T1049. I'm planning to use this in Harbormaster custom fields shortly.

Test Plan: {F133843}

Reviewers: btrahan

Reviewed By: btrahan

Subscribers: epriestley

Maniphest Tasks: T1049

Differential Revision: https://secure.phabricator.com/D8606
This commit is contained in:
epriestley
2014-03-25 16:12:49 -07:00
parent 6e3c17e6f9
commit acfc3c3e5d
4 changed files with 23 additions and 0 deletions

View File

@@ -101,6 +101,8 @@ When defining custom fields using a configuration option like
- **default**: Default field value.
- **strings**: Allows you to override specific strings based on the field
type. See below.
- **instructions**: Optional block of remarkup text which will appear
above the control when rendered on the edit view.
The `strings` value supports different strings per control type. They are: