custom inputs in template