install active_decorator
execute`rails g decorator candidate`
use Candidate#button_type in decorator