BigW Consortium Gitlab

Commit 8cf504a7 by Mike Greiling

don't check disabled radio inputs

parent 04e3e609
......@@ -4,7 +4,7 @@
- disabled = disallowed || restricted
.radio{ class: [('disabled' if disabled), ('restricted' if restricted)] }
= form.label "#{model_method}_#{level}" do
= form.radio_button model_method, level, checked: (selected_level == level), disabled: disabled
= form.radio_button model_method, level, checked: (selected_level == level && !disabled), disabled: disabled
= visibility_level_icon(level)
.option-title
= visibility_level_label(level)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment