Reputation:
I am creating a simple app in ROR , I find that what ever is given insidem my
<% form_tag({:action => :formcheck}, :multipart => true ) do %>
.
.
.
<% end %>
but when I close the form_tag immediately everything inside the form is getting displayed correctly .
<% form_tag({:action => :formcheck}, :multipart => true ) do %>
<% end %>
I just need to know why the contents are not getting displaced .
I am using Rails version 4.0.0
Upvotes: 1
Views: 83
Reputation: 12320
Please look into this http://edgeguides.rubyonrails.org/form_helpers.html
<%= form_tag({:action => :formcheck}, :multipart => true ) do %>
Form contents
<% end %>
Upvotes: 0
Reputation: 3709
Put '='
<%= form_tag({:action => :formcheck}, :multipart => true ) do %>
Upvotes: 1