Hi, I hope everyone is okay. I’m new to Cloudforms and I’m trying to make a service catalog where the user can specify which template to use to create a new vm, and also to specify the vm memory size and cpu to be used later to create the new vm. My problem is that I’m not familiar with Ruby and I just want to create a dynamic dropdown where it lists my available templates, I searched for hours to see how to I manage it to list it but with no luck. Can someone please show me how to create a ruby method where I include it in my entry point for the dropdown list to show the current available templates?
PS: If anyone has an idea on how to create the ruby method for creating a new vm with these inputs please do not hesitate to assist on this task I would like to learn how to get it done.
Thank you for your attention.