summaryrefslogtreecommitdiffstats
path: root/install/static/hbac.js
diff options
context:
space:
mode:
Diffstat (limited to 'install/static/hbac.js')
-rwxr-xr-xinstall/static/hbac.js8
1 files changed, 6 insertions, 2 deletions
diff --git a/install/static/hbac.js b/install/static/hbac.js
index f63a489e0..894b2f4a0 100755
--- a/install/static/hbac.js
+++ b/install/static/hbac.js
@@ -71,9 +71,13 @@ function ipa_hbac_add_dialog(spec) {
'undo': false
}));
- that.add_field(ipa_text_widget({
+ that.add_field(ipa_radio_widget({
'name': 'accessruletype',
- 'label': 'Rule type (allow/deny)',
+ 'label': 'Rule type',
+ 'options': [
+ { 'value': 'allow', 'label': 'Allow' },
+ { 'value': 'deny', 'label': 'Deny' }
+ ],
'undo': false
}));
};