Added name attribute to input tags

Added name attribute to input tags rather than just id.