fixes views adds delete and edit buttons on show views