view spec and HTML implementation of date_picker