does `{% set buttonClass = 'btn-play' if game.purchased else 'btn-play btn-install' %}` not work?