Permalink
Browse files

Handle form submission response

  • Loading branch information...
amitamb committed Jan 20, 2014
1 parent 23cdfa5 commit 42fe8e7678b460f8ba85becadd78b4f6d5f0ce06
Showing with 3 additions and 1 deletion.
  1. +3 −1 app/views/contacts/_form.html.erb
@@ -1,5 +1,7 @@
<%= form_for(@contact, remote: true) do |f|%>
- <div >
+ <!-- Already an AJAX form -->
+ <!-- Just need to receive the response in a function and display it in modal -->
+ <div>
<%= f.text_field :nickname, class: "hidden" %>
</div>

0 comments on commit 42fe8e7

Please sign in to comment.