shared partial for shared buttons