Hi,
I am trying to modify the existing template of new provided by rails
using form tag
My controller is languages
new.html.erb looks like this
<% form_tag :controller=> “languages”, :action => “create” do %>
Language <%= text_field_tag “language” %>
<%= submit_tag “Create” %>
<% end %>
Instead of
<% for_for(@language) |f| do %>
Language<%= f.text_field :language %>
<% f.submit “create” %>
<% end %>
Any reason this should not route properly.
I get a 500 Internal server error?