lib/trestle/form/fields/check_box_helpers.rb in trestle-0.9.1 vs lib/trestle/form/fields/check_box_helpers.rb in trestle-0.9.2

- old
+ new

@@ -36,10 +36,10 @@ def label_class custom? ? ["custom-control-label"] : ["form-check-label"] end def defaults - Trestle::Options.new(disabled: admin.readonly?) + Trestle::Options.new(disabled: readonly?) end end end end end