Fixed html error by adding missing input type