Forum: Ruby on Rails How mix jquery based ui packages and ruby on rails

Posted by rubyrookie (Guest)
on 2012-11-18 04:37
(Received via mailing list)
I am trying to use jqx ui that is based on jquqery  I have following
questions


1. How do I generate the right id and name for the element without 
setting
the element name and id in the format model name [attribute] ?   Example
<%= f.text_field :country_id %> generates
sets the element id and name to bank[country_id]

2.how do i set the form element attributes like action ? Do i just use
form_tag to generate the form?

Thanks Anant
Please log in before posting. Registration is free and takes only a minute.
Existing account (Switch to SSL-encrypted connection)
NEW: Do you have a Google/GoogleMail or Yahoo account? No registration required!
Log in with Google account | Log in with Yahoo account
No account? Register here.