Guest User

Untitled

a guest
Apr 24th, 2018
57
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.31 KB | None | 0 0
  1. <%= error_messages_for :memo %>
  2.  
  3. <% remote_form_for(@memo,
  4. :update => { :success => "listing", :failure => "ajaxform" },
  5. :complete => "$('ajaxform').hide();" ) do |f| %>
  6.  
  7. <p>
  8. <b>Memo</b><br />
  9. <%= f.text_area :memo, :rows => 2 %>
  10. </p>
  11.  
  12. <p>
  13. <%= f.submit "Apply" %>
  14. </p>
  15. <% end %>
Add Comment
Please, Sign In to add comment