Buttons are now rendered using a template helper

Closes #21