%= error_messages_for 'resource' %>
<%= f.text_field item %>
<% end %><%= f.text_area :description, :rows => 3, :cols => 40 %>
<% for item in [:contact_name, :contact_email] %><%= f.text_field item %>
<% end %><%= f.text_area :contact_other, :rows => 3, :cols => 40 %>
<% for item in [:contact_name_public, :contact_email_public, :contact_other_public] %><%= f.check_box item %>
<% end %> <% for item in [:mailing_list_url, :documentation_url, :auth_key] %><%= f.text_field item %>
<% end %><%= f.text_field :hits %>
<%= f.text_field :outclicks %>
<%= f.date_select :year_started, :discard_month => true %>
<%= f.collection_select :resource_type_id, ResourceType.find(:all, :order => 'name'), :id, :name %>
<%= f.check_box :viewable %>
<%= f.collection_select :stage_id, Stage.find(:all, :order => 'name'), :id, :name %>
<%= f.text_field :userbase %>
<%= f.text_field :developers %>
<%= f.collection_select :license_id, License.find(:all, :order => 'name'), :id, :name %>
<%= f.collection_select :os_support_id, OsSupport.find(:all, :order => 'name'), :id, :name %>
<%= f.collection_select :size_scale_id, SizeScale.find(:all, :order => 'name'), :id, :name %>
<%= f.collection_select :support_id, Support.find(:all, :order => 'name'), :id, :name %>
<% for item in [:commercial, :commercial_url, :cost] %><%= f.text_field item %>
<% end %><%= f.text_field :publications %>
<%= f.text_area :tech_publications, :rows => 3, :cols => 40 %>
<%= f.text_area :appl_publications, :rows => 3, :cols => 40 %>
<%= f.collection_select :superceded_id, Resource.find(:all, :order => 'name'), :id, :name %>
<%= render :partial => 'related_list' %><%= text_field_with_auto_complete :resource, :new_related %> <%= submit_tag 'add' %>
<%= submit_tag %>