fixtures/dummy/app/views/articles/form.rb in phlex-0.2.2 vs fixtures/dummy/app/views/articles/form.rb in phlex-0.3.0

- old
+ new

@@ -1,13 +1,13 @@ # frozen_string_literal: true module Views - module Articles - class Form < Phlex::Component - def template - form_with url: "test" do |f| - f.text_field :name - end - end - end - end + module Articles + class Form < Phlex::View + def template + form_with url: "test" do |f| + f.text_field :name + end + end + end + end end