From 7a593b902b4b507c449c14146bc6e94a27547346 Mon Sep 17 00:00:00 2001 From: Mark Veidemanis Date: Tue, 14 Feb 2023 07:20:47 +0000 Subject: [PATCH] Add help texts to AssetRule --- core/forms.py | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/core/forms.py b/core/forms.py index 1b93fb5..53ed0a6 100644 --- a/core/forms.py +++ b/core/forms.py @@ -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.", + }