ui refactoring for show action with respect to bootstrap