summaryrefslogtreecommitdiff
path: root/app/views/phones/_form_core.html.haml
diff options
context:
space:
mode:
authorStefan Wintermeyer <stefan.wintermeyer@amooma.de>2013-03-04 11:55:33 +0100
committerStefan Wintermeyer <stefan.wintermeyer@amooma.de>2013-03-04 11:55:33 +0100
commita07b7482bb2f9d2867dafc909da8af90d5ee9143 (patch)
tree360e5a8b3cc1f9c0ccf79575709b0a9787924dd3 /app/views/phones/_form_core.html.haml
parentaaffa89ef9aef6ac30e3304d735a8c58f4bdaaef (diff)
parent8042e6c314737feab61209e0b8b26ddba5c7e763 (diff)
Merge branch 'develop' of github.com:amooma/GS5 into develop
Diffstat (limited to 'app/views/phones/_form_core.html.haml')
-rw-r--r--app/views/phones/_form_core.html.haml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/phones/_form_core.html.haml b/app/views/phones/_form_core.html.haml
index 31f3c24..e093899 100644
--- a/app/views/phones/_form_core.html.haml
+++ b/app/views/phones/_form_core.html.haml
@@ -11,5 +11,5 @@
- if defined? GsParameter.get('NIGHTLY_REBOOT_OF_PHONES') && GsParameter.get('NIGHTLY_REBOOT_OF_PHONES') == true
= f.input :nightly_reboot, :label => t('phones.form.nightly_reboot.label'), :hint => conditional_hint('phones.form.nightly_reboot.hint')
- - if GsParameter.get('PROVISIONING_KEY_LENGTH') == 0
+ - if @phone && @phone.provisioning_key_active
= f.input :provisioning_key_active, :label => t('phones.form.provisioning_key_active.label'), :hint => conditional_hint('phones.form.provisioning_key_active.hint')