Fix bad input type and missing css classes.