A.F....... [ZBX-8448] fixed sever coding style issues regarding host and template edit forms and fixed undefined index 'inventory' in host.update method when called from frontend