<% if (readonly) { %>
<%- selectedItems.join(', ') %>
<% } else { %>
<% $.each(options, function(key, option) { %> > <% }); %>
<% } %>