app/components/coco/app/fields/submit_component.rb in coveragebook_components-0.10.0 vs app/components/coco/app/fields/submit_component.rb in coveragebook_components-0.10.1.beta.0

- old
+ new

@@ -1,9 +1,10 @@ module Coco module App module Fields class SubmitComponent < ViewComponent::Form::SubmitComponent include Concerns::ActsAsFieldWithOptions + include Coco::SharedHelper def call coco_button(**options, type: :submit) do content || value end