Add admin form and switch new and edit pages for a details page
Remove php from views