refactoring edit and show views to use bootstrap