how to use form_tag in rails 2.3

Posted by mtay on Stack Overflow See other posts from Stack Overflow or by mtay
Published on 2011-01-08T00:41:10Z Indexed on 2011/01/08 0:54 UTC
Read the original article Hit count: 108

Filed under:
|

Hey all, I'm running into an error using form_tag in Rails 2.3 and can't seem to wrap my head around it. What may I be doing wrong syntactically?

      =form_tag :action => 'form', :name => "admin_form" 
        #images_actions_bar
          =submit_tag "Approve", :class => "button", :name => "approve"
          =submit_tag "Update", :class => "button", :name => "update"

I am seeing "syntax error, unexpected kENSURE, expecting $end"

© Stack Overflow or respective owner

Related posts about ruby-on-rails

Related posts about form