Removed property num_days, used obj.num_of_days in detail.html.