I have created small application using form.
It shows the follwing error:
Showing admin/author/new.html.erb where line #4 raised:
undefined local variable or method `end_form_tag' for #<ActionView::Base:0x37c3e88>
plese give me a soultion for above error.
This is our new.html.erb file
<%= form_tag :action => 'create' %>
<%= render :partial => 'form' %>
<%= submit_tag 'Create' %>
<%= end_form_tag %>
<%= link_to 'Back', :action => 'index' %>