%= form_for @item, url: item_url do |form| %>
Edit Item
<%= select "category", "item_category_id", ItemCategory.all.collect {|p| [ p.name, p.id ] }, { :selected => @item.item_category.id } %>
<%= form.text_field :name %>
<%= form.text_area :desc, class: "description", :rows => 5 %>
<%= form.text_field :link, class: "link" %>
<%= form.submit "Update", class: "update" %>
<% end %>