<% for item in [:mailing_list_url, :documentation_url ] %> <% end %> <% for item in [:commercial, :commercial_url, :cost] %> <% end %> <% if permit? 'site_admin' %> <% end %>
<%= @resource.human_title item %>: <%= f.text_field item , "size" => 85 %>
<%=h @resource.human_title :hits %>: <%= @resource.hits %>
<%=h @resource.human_title :outclicks %>: <%= @resource.outclicks %>
<%= f.text_field :contact_name , "size" => 45 %>
<%= f.check_box :contact_name_public %>
<%= f.text_field :contact_email , "size" => 45 %>
<%= f.check_box :contact_email_public %>
<%= f.text_area :contact_other, :rows => 6, :cols => 60 %> <%= f.check_box :contact_other_public %>
<%= @resource.human_title :userbase %>: <%= f.text_field :userbase, "size" => 6 %>
<%= @resource.human_title :developers %>: <%= f.text_field :developers, "size" => 6 %>
<%=h @resource.human_title :year_started %>: <%= f.date_select :year_started, :discard_month => true, :include_blank => true %>
<%= @resource.human_title :os_support %>: <%= f.collection_select :os_support_id, OsSupport.find(:all, :order => 'name'), :id, :name, :include_blank => true %>
<%= @resource.human_title :size_scale %>: <%= f.collection_select :size_scale_id, SizeScale.find(:all, :order => 'name'), :id, :name, :include_blank => true %>
<%= @resource.human_title :support %>: <%= f.collection_select :support_id, Support.find(:all, :order => 'name'), :id, :name, :include_blank => true %>
<%= @resource.human_title item %>: <%= f.text_field item, "size" => 85 %>
<%= @resource.human_title :publications %>: <%= f.text_field :publications, "size" => 6 %>
<%= @resource.human_title :tech_publications %>: <%= f.text_area :tech_publications, :rows => 3, :cols => 40 %>
<%= @resource.human_title :appl_publications %>: <%= f.text_area :appl_publications, :rows => 3, :cols => 40 %>
SITE ADMIN CONTROLS:
<%= @resource.human_title :superceded_id %>: <%= f.collection_select :superceded_id, Resource.find(:all, :order => 'name'), :id, :name, :include_blank => true %>
<%= @resource.human_title :viewable %>: <%= f.check_box :viewable %>


<%= submit_tag %>