Added correct html for date field