refactoring

partials added for show view