How to create custom templates for ERPNext

How do I create custom templates for ERPNext? Like, in the Issue page, I want to give 5 star rating option. Where should I add that?