summaryrefslogtreecommitdiff
path: root/ishtar_common/models.py
diff options
context:
space:
mode:
Diffstat (limited to 'ishtar_common/models.py')
-rw-r--r--ishtar_common/models.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/ishtar_common/models.py b/ishtar_common/models.py
index c888e87fd..b0751f661 100644
--- a/ishtar_common/models.py
+++ b/ishtar_common/models.py
@@ -1635,6 +1635,10 @@ class CustomForm(models.Model):
name = models.CharField(_(u"Name"), max_length=250)
form = models.CharField(_(u"Form"), max_length=250)
available = models.BooleanField(_(u"Available"), default=True)
+ enabled = models.BooleanField(
+ _(u"Enable this form"), default=True,
+ help_text=_(u"Disable with caution: disabling a form with mandatory "
+ u"fields may lead to database errors."))
apply_to_all = models.BooleanField(
_(u"Apply to all"), default=False,
help_text=_(u"Apply this form to all users. If set to True, selecting "