I want to pre-populate a dropdown menu in a list with items from a custom post type. I found an existing post (http://www.gravityhelp.com/forums/topic/list-field-drop-down-option) that seems to be exactly what I'm looking for, but it just isn't working. My drop-down has the correct label, but the options don't appear there. Instead, they're listed below the form.
Here's a rough example I uploaded to show you what I mean: http://dieudonne.runcus.com
This is what's in my functions.php: http://pastie.org/7705461
See how the drop-down menu is empty and the 5 names appear at the bottom? Am I doing something wrong?