Refactor table 'clickable' row code, use in the user show page.