search for: edit_person_32

Displaying 1 result from an estimated 1 matches for "edit_person_32".

2013 Sep 19
0
CRUD model in a bootstrap modal with jquery, ajax - best practice
...strong</a> this runs edit.js.erb Now: To update my model, i send the form data as json to the controller#update <form accept-charset="UTF-8" action="/en/people/32" class="form-horizontal" data-remote="true" data-type="json" id="edit_person_32" method="post"> if there is an error in the form, i do render_to_string(form_partial) inside the controller and respond with this inside of the json response. Now i have the partial html inside of the json object. I do this, to get the rails error messages and fields_with_e...