Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <%= error_messages_for :memo %>
- <% remote_form_for(@memo,
- :update => { :success => "listing", :failure => "ajaxform" },
- :complete => "$('ajaxform').hide();" ) do |f| %>
- <p>
- <b>Memo</b><br />
- <%= f.text_area :memo, :rows => 2 %>
- </p>
- <p>
- <%= f.submit "Apply" %>
- </p>
- <% end %>
Add Comment
Please, Sign In to add comment