diff options
Diffstat (limited to 'install/ui/dns.js')
-rw-r--r-- | install/ui/dns.js | 30 |
1 files changed, 24 insertions, 6 deletions
diff --git a/install/ui/dns.js b/install/ui/dns.js index 6a684b9e..0d7f03f2 100644 --- a/install/ui/dns.js +++ b/install/ui/dns.js @@ -52,10 +52,19 @@ IPA.dns.config_entity = function(spec) { validators: [IPA.dnsforwarder_validator()] }, { - type: 'checkboxes', + type: 'radio', name: 'idnsforwardpolicy', - mutex: true, - options: IPA.create_options(['only', 'first']) + default_value: 'first', + options: [ + { + value: 'first', + label: IPA.messages.objects.dnsconfig.forward_first + }, + { + value: 'only', + label: IPA.messages.objects.dnsconfig.forward_only + } + ] }, 'idnszonerefresh' ] @@ -170,10 +179,19 @@ IPA.dns.zone_entity = function(spec) { validators: [IPA.dnsforwarder_validator()] }, { - type: 'checkboxes', + type: 'radio', name: 'idnsforwardpolicy', - mutex: true, - options: IPA.create_options(['only', 'first']) + default_value: 'first', + options: [ + { + value: 'first', + label: IPA.messages.objects.dnsconfig.forward_first + }, + { + value: 'only', + label: IPA.messages.objects.dnsconfig.forward_only + } + ] }, { type: 'checkbox', |