app/components/coco/fields/submit_component.rb in coveragebook_components-0.16.0 vs app/components/coco/fields/submit_component.rb in coveragebook_components-0.17.0

- old
+ new

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