add 'to_label' method to clean up .erb file