2
votes
2answers
2k views

Display inline errors with simple_form in a Bootstrap Ajax modal

I've found similar StackOverflow questions here and here but still can't get this to work. I'm using Rails 3.2.8, SimpleForm 2.0.4, and Twitter Bootstrap 2.1.1 (via the bootstrap-sass gem 2.1.1.0). ...
1
vote
2answers
3k views

how to do render partial on jquery ajax success method with rails 3

I'm using rails 3.2.1 with jquery for an ajax call. My juqery code is : jQuery.ajax({ url: "/org_pages", data: 'org_id='+ org_id, type: "POST", ...