Fix non showing password after csv upload

Fixes non showing password in the register nodes dialog after we
upload CSV with IMPI credentials.

Change-Id: I984f89d26f8a0b66ccd478b3e7f96784c26cc587
Partial-Bug: #1392775
This commit is contained in:
Ladislav Smola 2014-11-18 17:27:39 +01:00
parent a4cc009840
commit b4d5910c54
1 changed files with 1 additions and 1 deletions

View File

@ -107,7 +107,7 @@ class NodeForm(django.forms.Form):
ipmi_password = django.forms.CharField(
label=_("IPMI Password"),
required=False,
widget=django.forms.PasswordInput(render_value=False, attrs={
widget=django.forms.PasswordInput(render_value=True, attrs={
'class': 'form-control switched',
'data-switch-on': 'driver',
'data-driver-pxe_ipmitool': _("IPMI Driver"),