`:class => 'btn btn-medium btn-primary'` violates our coding convention.