Open ivanscdo opened 5 years ago
<%= form_for(@article, html: {multipart: true}) do |f| %> gave syntax error. changed to <%= form_for @article, :html => {:multipart => true} do |f| %> based on Alston's answer at https://stackoverflow.com/questions/10526641/form-for-with-multipart-true-spits-out/10526674
<%= form_for(@article, html: {multipart: true}) do |f| %>
<%= form_for @article, :html => {:multipart => true} do |f| %>
<%= form_for(@article, html: {multipart: true}) do |f| %>
gave syntax error. changed to<%= form_for @article, :html => {:multipart => true} do |f| %>
based on Alston's answer at https://stackoverflow.com/questions/10526641/form-for-with-multipart-true-spits-out/10526674