summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJaromir Coufal <jcoufal@redhat.com>2013-07-26 19:31:01 +0200
committerTomas Sedovic <tomas@sedovic.cz>2013-08-01 16:18:57 +0200
commite23dcde5c337849568df0c4586d682f114a57076 (patch)
treeb129a504f68ea5ffde61f425400f960f01829d27
parent9d46d1a1b233092e2ba4eb1d5682032eb83f46b0 (diff)
downloadtuskar-ui-e23dcde5c337849568df0c4586d682f114a57076.tar.gz
Fixed order of inputs in the UI for rack creation
Change-Id: I4018960e5a6421608d6ef2eff463f9fbf1eb4d7b
-rw-r--r--openstack_dashboard/dashboards/infrastructure/resource_management/racks/workflows.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/openstack_dashboard/dashboards/infrastructure/resource_management/racks/workflows.py b/openstack_dashboard/dashboards/infrastructure/resource_management/racks/workflows.py
index 0499dc86..8a2f457d 100644
--- a/openstack_dashboard/dashboards/infrastructure/resource_management/racks/workflows.py
+++ b/openstack_dashboard/dashboards/infrastructure/resource_management/racks/workflows.py
@@ -80,10 +80,10 @@ class RackCreateInfoAction(workflows.Action):
error_messages={'invalid': _('Name may only '
'contain letters, numbers, underscores, '
'periods and hyphens.')})
- resource_class_id = forms.ChoiceField(label=_("Resource Class"))
location = forms.CharField(label=_("Location"))
# see GenericIPAddressField, but not for subnets:
subnet = forms.CharField(label=_("IP Subnet"))
+ resource_class_id = forms.ChoiceField(label=_("Resource Class"))
def clean(self):
cleaned_data = super(RackCreateInfoAction, self).clean()