Update edit form to conditionally display date type chosen.

* submit broken currently broken because of internal partial rendering.