Update scaffold to use <%= form_for
This commit is contained in:
parent
c5ff181480
commit
3d5d0286b3
@ -1,4 +1,4 @@
|
||||
<%% form_for(@<%= singular_name %>) do |f| %>
|
||||
<%%= form_for(@<%= singular_name %>) do |f| %>
|
||||
<%%= f.error_messages %>
|
||||
|
||||
<% for attribute in attributes -%>
|
||||
|
Loading…
Reference in New Issue
Block a user