# Form\_tag with the new template

**URL:** <https://www.ruby-forum.com/t/form-tag-with-the-new-template/153365>\
**Category:** Rails\
**Created:** [November 15, 2008, 6:56pm UTC](https://www.ruby-forum.com/t/form-tag-with-the-new-template/153365 "2008-11-15T18:56:10Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![hiral\_r](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/h/cdc98d/32.png) [@hiral\_r](https://www.ruby-forum.com/u/hiral_r)\
**Post date:** [November 15, 2008, 6:56pm UTC](https://www.ruby-forum.com/t/form-tag-with-the-new-template/153365/1 "2008-11-15T18:56:10Z")

</div>

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?
