Use generic auto layout function for edit view.
Add datepicker.
Finish edit layout.