summaryrefslogtreecommitdiff
path: root/app/views/phones/_form_core.html.haml
diff options
context:
space:
mode:
authorspag <spag@golwen.net>2012-12-27 14:09:53 +0100
committerspag <spag@golwen.net>2012-12-27 14:09:53 +0100
commitb76b13bff13cd6bcb2d543386cae9868cd4d882f (patch)
tree776c5735cdb4d162b8085c52fabd88bb1f8f2b13 /app/views/phones/_form_core.html.haml
parent98fe29192d3fb3f79ad8913b73c89b6e7f234eb4 (diff)
Fallback sip account in phone views
Diffstat (limited to 'app/views/phones/_form_core.html.haml')
-rw-r--r--app/views/phones/_form_core.html.haml1
1 files changed, 1 insertions, 0 deletions
diff --git a/app/views/phones/_form_core.html.haml b/app/views/phones/_form_core.html.haml
index 51ceff5..96e53e6 100644
--- a/app/views/phones/_form_core.html.haml
+++ b/app/views/phones/_form_core.html.haml
@@ -2,6 +2,7 @@
= f.input :mac_address, :label => t('phones.form.mac_address.label'), :hint => conditional_hint('phones.form.mac_address.hint')
= f.association :phone_model, :label => t('phones.form.phone_model_id.label'), :hint => conditional_hint('phones.form.phone_model_id.hint')
= f.input :hot_deskable, :label => t('phones.form.hot_deskable.label'), :hint => conditional_hint('phones.form.hot_deskable.hint')
+ = f.association :fallback_sip_account, :collection => @fallback_sip_accounts, :label => t('phones.form.fallback_sip_account_id.label'), :hint => conditional_hint('phones.form.fallback_sip_account_id.hint'), :include_blank => true
- if defined? NIGHTLY_REBOOT_OF_PHONES && 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 defined? PROVISIONING_KEY_LENGTH && PROVISIONING_KEY_LENGTH > 0