From 87c457498cdda52324e8e90fa01ff37ece93492d Mon Sep 17 00:00:00 2001 From: Krophil Date: Wed, 26 Apr 2017 00:51:56 +0200 Subject: [PATCH] Add small explanation in subscriptions --- subscription/models.py | 5 ++++- subscription/templates/subscription/subscription.jinja | 1 + 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/subscription/models.py b/subscription/models.py index 8697a41d..7c51339d 100644 --- a/subscription/models.py +++ b/subscription/models.py @@ -50,7 +50,10 @@ class Subscription(models.Model): choices=((k, v['name']) for k,v in sorted(settings.SITH_SUBSCRIPTIONS.items()))) subscription_start = models.DateField(_('subscription start')) subscription_end = models.DateField(_('subscription end')) - payment_method = models.CharField(_('payment method'), max_length=255, choices=settings.SITH_SUBSCRIPTION_PAYMENT_METHOD) + payment_method = models.CharField(_('payment method'), + max_length=255, + help_text=_('Eboutic is reserved to specific users. In doubt, don\'t use it.'), + choices=settings.SITH_SUBSCRIPTION_PAYMENT_METHOD) location = models.CharField(choices=settings.SITH_SUBSCRIPTION_LOCATIONS, max_length=20, verbose_name=_('location')) diff --git a/subscription/templates/subscription/subscription.jinja b/subscription/templates/subscription/subscription.jinja index 40e842c2..944d8a5e 100644 --- a/subscription/templates/subscription/subscription.jinja +++ b/subscription/templates/subscription/subscription.jinja @@ -19,6 +19,7 @@

{{ form.subscription_type.errors }} {{ form.subscription_type }}

{{ form.payment_method.errors }} {{ form.payment_method }}

+

{{ form.payment_method.help_text }}

{{ form.location.errors }} {{ form.location }}