changed edit and new in badges to use partial