Parameters | context | The object that is being edited. |
| exported_field | The attribute being edited. This should be
a field from an interface of the form ISomeInterface['fieldname'] |
| tag | The HTML tag to use. |
| false_text | The string to show for a false value. |
| true_text | The string to show for a true value. |
| css_class | The css class value to use. |
| prefix | Optional text to show before the value. |
| edit_view | The view name to use to generate the edit_url if
one is not specified. |
| edit_url | The URL to use for editing when the user isn't logged
in and when JS is off. Defaults to the edit_view on the context. |
| edit_title | Used to set the title attribute of the anchor. |
| content_box_id | The HTML id to use for this widget.
Automatically generated if this is not provided. |
| header | The large text at the top of the choice popup. |