making button as flexible as link_to