delete is a reserved keyword use something else.
Move the list and details views into a views directory, and rename detail to details.