Advertisement
saasbook

edit_with_partial.html.haml

Aug 15th, 2013
463
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Ruby 0.17 KB | None | 0 0
  1. -# edit.html.haml using partial
  2.  
  3. %h2 Edit Existing Movie
  4.  
  5. = form_tag movie_path(@movie), :method => :put do
  6.   = render :partial => 'movie_form'
  7.   = submit_tag 'Update Movie Info'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement