added closing form and div tags and converted indentation to spaces