{"action":"opened","issue":{"url":"https://api.github.com/repos/ManageIQ/manageiq/issues/1792","labels_url":"https://api.github.com/repos/ManageIQ/manageiq/issues/1792/labels{/name}","comments_url":"https://api.github.com/repos/ManageIQ/manageiq/issues/1792/comments","events_url":"https://api.github.com/repos/ManageIQ/manageiq/issues/1792/events","html_url":"https://github.com/ManageIQ/manageiq/issues/1792","id":58190480,"number":1792,"title":"UI: Disappearing buttons 'Verify' and 'Add'/'Cancel'","user":{"login":"romanblanco","id":1187051,"avatar_url":"https://avatars.githubusercontent.com/u/1187051?v=3","gravatar_id":"","url":"https://api.github.com/users/romanblanco","html_url":"https://github.com/romanblanco","followers_url":"https://api.github.com/users/romanblanco/followers","following_url":"https://api.github.com/users/romanblanco/following{/other_user}","gists_url":"https://api.github.com/users/romanblanco/gists{/gist_id}","starred_url":"https://api.github.com/users/romanblanco/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/romanblanco/subscriptions","organizations_url":"https://api.github.com/users/romanblanco/orgs","repos_url":"https://api.github.com/users/romanblanco/repos","events_url":"https://api.github.com/users/romanblanco/events{/privacy}","received_events_url":"https://api.github.com/users/romanblanco/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-02-19T10:28:35Z","updated_at":"2015-02-19T10:28:35Z","closed_at":null,"body":"In `Add New Host` page *(Infrastructure -> Hosts -> Configuration -> Add a New Host)* is problem with buttons:\r\n\r\nAfter loading page, the 'Validate' button is here two times - one enabled, one disabled:\r\n![rendered](https://cloud.githubusercontent.com/assets/1187051/6264821/b013fe2c-b827-11e4-92de-15a832b4d873.png)\r\n\r\nAfter changing `Host platform`, enabled 'Validate' button disapears.\r\n![changed](https://cloud.githubusercontent.com/assets/1187051/6264857/0af097b0-b828-11e4-9409-8d32133a8503.png)\r\n\r\nAnd after changing `Host platform` back to default value *(\\<not specified\\>)*, buttons 'Add' and 'Cancel' disapears.\r\n![changed-back](https://cloud.githubusercontent.com/assets/1187051/6264894/67276978-b828-11e4-8310-4c0edef6ac5e.png)\r\n\r\nThere is [condition, in _form.html.haml](https://github.com/ManageIQ/manageiq/blob/master/vmdb/app/views/host/_form.html.haml#L62), that is determines, if buttons should be rendered, but it evaluates only once - after loading page"}}