<%= select_tag "version_id", content_tag('option', '') + options_from_collection_for_select(versions, "id", "name") %>
<% end %> <% if attachmenttypes.any? %><%= select_tag "attachment_type", content_tag('option', '') + options_from_collection_for_select(attachmenttypes, "id", "typeName") %>
<% end %><%= render :partial => 'attachments/form' %>