Added terms and conditions template content view on collections; Created a function to replace a variable as value inside a template file