~ubuntu-branches/ubuntu/trusty/horizon/trusty-updates

« back to all changes in this revision

Viewing changes to openstack_dashboard/dashboards/project/access_and_security/security_groups/forms.py

  • Committer: Package Import Robot
  • Author(s): James Page
  • Date: 2014-03-06 16:53:28 UTC
  • mfrom: (1.1.37)
  • Revision ID: package-import@ubuntu.com-20140306165328-w2vgmtfriqlhp27m
Tags: 1:2014.1~b3-0ubuntu1
* New upstream milestone release.
* d/static/*: Refreshed assets for new upstream release.

Show diffs side-by-side

added added

removed removed

Lines of Context:
38
38
 
39
39
class CreateGroup(forms.SelfHandlingForm):
40
40
    name = forms.CharField(label=_("Name"),
 
41
                           max_length=255,
41
42
                           error_messages={
42
43
                               'required': _('This field is required.'),
43
44
                               'invalid': _("The string may only contain"
64
65
class UpdateGroup(forms.SelfHandlingForm):
65
66
    id = forms.CharField(widget=forms.HiddenInput())
66
67
    name = forms.CharField(label=_("Name"),
 
68
                           max_length=255,
67
69
                           error_messages={
68
70
                               'required': _('This field is required.'),
69
71
                               'invalid': _("The string may only contain"