Projet

Général

Profil

0001-role_forms-add-a-details-field-9503.patch

Benjamin Dauvergne, 21 janvier 2016 10:25

Télécharger (1,4 ko)

Voir les différences:

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
hobo/agent/authentic2/role_forms.py
77 77

  
78 78

  
79 79
class RoleForm(RoleEditForm):
80
    details = forms.CharField(label=_('Role details'), widget=forms.Textarea, initial='',
81
                              required=False)
80 82
    emails = CommaSeparatedCharField(label=_('Emails'),
81 83
                                     item_validators=[EmailValidator()],
82 84
                                     required=False)
83
-