We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 26cae80 commit fd0ae3cCopy full SHA for fd0ae3c
lib/generators/haml/scaffold/templates/_form.html.haml
@@ -1,5 +1,5 @@
1
<% if Rails::VERSION::MAJOR >= 5 && Rails::VERSION::MINOR >= 1 -%>
2
-= form_with model: @<%= singular_table_name %>, local: true do |f|
+= form_with :model => @<%= singular_table_name %>, :local => true do |f|
3
<% else -%>
4
= form_for @<%= singular_table_name %> do |f|
5
<% end -%>
0 commit comments