I'd like to check if my table contains a particular value and if so, set the checkbox to disabled.
I've also tried disabling the checkbox like so, however can't seem to get it to work.
In /admin/ file:
form do |f|
f.inputs 'Form' do
f.input :checkbox, :disabled => true
end
f.actions
end