Bootstrap dynamic dropdown items
Looks pretty clean for me.

2 things:


I'm not an English expert, but check the name of the function and the action. 
I understand "render" as to "display on the screen", or "write on the screen," but the function doesn't really write to the screen. It returns some template to be injected later.
Instead of using a concatenated string, you can use a template engine to avoid concatenating strings. It separates the logic from the template and makes both more maintainable. The most popular ones are Mustache, Handlebars, and the Backbone engine.