app/components/spina/forms/label_component.rb in spina-2.12.0 vs app/components/spina/forms/label_component.rb in spina-2.13.0

- old
+ new

@@ -1,17 +1,16 @@ module Spina module Forms class LabelComponent < ApplicationComponent attr_reader :f, :method - + def initialize(f, method) @f = f @method = method end - + def call f.label method, class: "font-medium text-sm text-gray-700 block" end - end end end