I added javascript button with effect fade to post index.html.erb