Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #authorname
- -for author in @book.authors
- =text_field_with_auto_complete :book, :author_name, { :size => 25 }, { :url => formatted_authors_path(:js), :method => :get, :param_name => 'search', :author=>''}
- =link_to_function "x", "$(this).up('.authorname').remove()"
Add Comment
Please, Sign In to add comment