Updating radio button template to respect setRequired()