Add help texts to AssetRule

This commit is contained in:
2023-02-14 07:20:47 +00:00
parent 74fdd8a735
commit 7a593b902b

View File

@@ -351,3 +351,13 @@ class AssetRuleForm(RestrictedFormMixin, ModelForm):
"trigger_below", "trigger_below",
"trigger_above", "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.",
}