Fix <input> element type

type="textfield" is invalid, however most browsers seem to default to
type="text" so this must have been overlooked.
Merge commit '1dedaca9793ef10141f259331a649448a862dc1d'