joseramonc / rails-snippets

:shipit:
http://codn.mx/en
MIT License
43 stars 22 forks source link

Change form default "form" variable #41

Closed joseramonc closed 5 years ago

joseramonc commented 6 years ago

We have:

<%= f.text_field ... %>

new rails apps generate forms with form variable, we need to update snippets to keep up with new rails versions, but, add a stop for the "form" variable, something like this:

<%= ${form}.text_field ... %>

this change needs to be done for all form snippets