<% if attachmenttypes.any? %> <%= l(:attachment_type) %> <%= select_tag "attachment_type", options_from_collection_for_select(attachmenttypes, "id","typeName", 2), {style: 'width:100px'} %> <% end %>
<%=l(:label_attachment_plural)%><%= render :partial => 'attachments/form' %>