diff options
author | Matt Wagner <matt.wagner@redhat.com> | 2013-07-26 13:43:05 -0400 |
---|---|---|
committer | Tomas Sedovic <tomas@sedovic.cz> | 2013-08-01 16:18:58 +0200 |
commit | 4a315458a58ac1e585a763c384f6b9f27f59b9f5 (patch) | |
tree | db31b5f0022a77aae7f3ca3d7ff023baec279dcb | |
parent | abdae9c3286a5b0c3c78cbd728f4e7a240bae5c8 (diff) | |
download | tuskar-ui-4a315458a58ac1e585a763c384f6b9f27f59b9f5.tar.gz |
Make power management credentials optional
They are optional fields over the API, so we should not
make them required.
Also updates the labels to clarify that they are for
power management.
Change-Id: Iab46f9fcf04324ecb3be9f461ee3b76ab3a19f11
-rw-r--r-- | openstack_dashboard/dashboards/infrastructure/resource_management/racks/workflows.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/openstack_dashboard/dashboards/infrastructure/resource_management/racks/workflows.py b/openstack_dashboard/dashboards/infrastructure/resource_management/racks/workflows.py index 8a2f457d..8a133dd7 100644 --- a/openstack_dashboard/dashboards/infrastructure/resource_management/racks/workflows.py +++ b/openstack_dashboard/dashboards/infrastructure/resource_management/racks/workflows.py @@ -40,10 +40,10 @@ class NodeCreateAction(workflows.Action): local_gb = forms.CharField(label="Local Disk (GB)", required=True) # Power Management - pm_address = forms.CharField(label="IP Address", required=True) - pm_user = forms.CharField(label="User", required=True) - pm_password = forms.CharField(label="Password", - required=True, + pm_address = forms.CharField(label="Power Management IP", required=False) + pm_user = forms.CharField(label="Power Management User", required=False) + pm_password = forms.CharField(label="Power Management Password", + required=False, widget=forms.PasswordInput( render_value=False)) |