edit code to work with bootstrap button styles