making the date boxes of type input-sm