[r] buttonView to template standard