bugfix: port submit form was broken

renderPortsForObject fix
reverting 206015ec