Merge "removed asterisk for admin state in network create"

This commit is contained in:
Jenkins 2015-04-20 11:58:10 +00:00 committed by Gerrit Code Review
commit 322530a5a5
2 changed files with 2 additions and 0 deletions

View File

@ -39,6 +39,7 @@ class UpdateNetwork(forms.SelfHandlingForm):
attrs={'readonly': 'readonly'})) attrs={'readonly': 'readonly'}))
admin_state = forms.ChoiceField(choices=[(True, _('UP')), admin_state = forms.ChoiceField(choices=[(True, _('UP')),
(False, _('DOWN'))], (False, _('DOWN'))],
required=False,
label=_("Admin State")) label=_("Admin State"))
failure_url = 'horizon:project:networks:index' failure_url = 'horizon:project:networks:index'

View File

@ -47,6 +47,7 @@ class CreateNetworkInfoAction(workflows.Action):
admin_state = forms.ChoiceField(choices=[(True, _('UP')), admin_state = forms.ChoiceField(choices=[(True, _('UP')),
(False, _('DOWN'))], (False, _('DOWN'))],
label=_("Admin State"), label=_("Admin State"),
required=False,
help_text=_("The state to start" help_text=_("The state to start"
" the network in.")) " the network in."))