Yes, partial exists.
https://github.com/isratrade/foreman/blob/classes/app/views/config_groups/_form.html.erb