Add template for hidden fields