fixtures/dummy/app/views/articles/form.rb in phlex-0.3.2 vs fixtures/dummy/app/views/articles/form.rb in phlex-0.4.0

- old
+ new

@@ -1,9 +1,11 @@ # frozen_string_literal: true module Views module Articles class Form < Phlex::View + include Phlex::Rails::Helpers::FormWith + def template form_with url: "test" do |f| f.text_field :name end end