Add help texts to AssetRule
This commit is contained in:
parent
74fdd8a735
commit
7a593b902b
|
@ -351,3 +351,13 @@ class AssetRuleForm(RestrictedFormMixin, ModelForm):
|
|||
"trigger_below",
|
||||
"trigger_above",
|
||||
)
|
||||
|
||||
help_texts = {
|
||||
"asset": "The asset to apply the rule to.",
|
||||
"aggregation": "Aggregation of the callback",
|
||||
"value": "Value of the aggregation",
|
||||
"original_status": "The original status of the asset.",
|
||||
"status": "The status of the asset, following rules configured on the Asset Group.",
|
||||
"trigger_below": "Trigger Bearish when value is below this.",
|
||||
"trigger_above": "Trigger Bullish when value is above this.",
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue