EaTea/CITS4230-Project-Group-7 — Issue #33: Destroy with :link_to depends on Rails JavaScript
Author: S0uten
Created: 2011-10-24 14:40:48+00:00
State: open

Deleting entries from a database using an 'a' link doesn't work since it depends on some rails JavaScript.

But fortunately, this is only for "link_to". If we change it to "button_to", then it works without JavaScript.
One downside is that there is no confirmation dialogue, but I think we can get around that with an alternative method of confirming using CSS. Maybe something like the home page's slideshow tabs - hover over a "Yes" tab to show the delete button.

Or we can just comply and add this JavaScript dependency...