<%= l(:field_version) %> |
<%= select_tag "version_id", content_tag('option', '') + options_from_collection_for_select(versions, "id", "name"), {style: 'width:230px'} %> | <% if attachmenttypes.any? %><%= l(:attachment_type) %> | <%= select_tag "attachment_type", options_from_collection_for_select(attachmenttypes, "id", "typeName", 2), {style: 'width:100px'} %> | <% end %> <% else %>
<%=l(:label_attachment_plural)%><%= render :partial => 'attachments/form', locals: {project: project} %>