From 255f875a297df0fce1e99122b796f7598096c9ef Mon Sep 17 00:00:00 2001 From: Benjamin Dauvergne Date: Tue, 5 Jan 2016 16:56:06 +0100 Subject: [PATCH 1/6] role_forms: add a details field (#9503) --- hobo/agent/authentic2/migrations/__init__.py | 0 hobo/agent/authentic2/models.py | 0 hobo/agent/authentic2/role_forms.py | 2 ++ 3 files changed, 2 insertions(+) create mode 100644 hobo/agent/authentic2/migrations/__init__.py create mode 100644 hobo/agent/authentic2/models.py diff --git a/hobo/agent/authentic2/migrations/__init__.py b/hobo/agent/authentic2/migrations/__init__.py new file mode 100644 index 0000000..e69de29 diff --git a/hobo/agent/authentic2/models.py b/hobo/agent/authentic2/models.py new file mode 100644 index 0000000..e69de29 diff --git a/hobo/agent/authentic2/role_forms.py b/hobo/agent/authentic2/role_forms.py index 4674923..57df140 100644 --- a/hobo/agent/authentic2/role_forms.py +++ b/hobo/agent/authentic2/role_forms.py @@ -77,6 +77,8 @@ class CommaSeparatedCharField(forms.Field): class RoleForm(RoleEditForm): + details = forms.CharField(label=_('Role details'), widget=forms.Textarea, initial='', + required=False) emails = CommaSeparatedCharField(label=_('Emails'), item_validators=[EmailValidator()], required=False) -- 2.1.4