Revert "Use html5 input type"

This reverts commit 9b7a158b6aa6541076fea818fcb7990e5948d293.