Adding template for inputs.