Removed embedded PHP and changed input elements