<%= render partial: 'shared/header', locals:{ links: [["在庫一覧", '#']]}%>
<% if false %> <% @type_id1.each do |type1| %> <%= link_to type1[0], goods_show_license_path(type1[1], -1, -1), class: "w8-button grey small3" if @id1 == type1[1] %> <%= link_to type1[0], goods_show_license_path(type1[1], -1, -1), class: "w8-button l-blue small3" if @id1 != type1[1] %> <% end %> <% end %> <% @type_id2.each do |type2| %> <%= link_to type2[0], goods_show_license_path(@id1, type2[1], -1), class: "w8-button grey small3" if @id2 == type2[1] %> <%= link_to type2[0], goods_show_license_path(@id1, type2[1], -1), class: "w8-button l-blue small3" if @id2 != type2[1] %> <% end %>


<% @type_id3.each do |type3| %> <%= link_to type3[0], goods_show_license_path(@id1, @id2, type3[1]), class: "w8-button grey small3" if @id3 == type3[1] %> <%= link_to type3[0], goods_show_license_path(@id1, @id2, type3[1]), class: "w8-button l-blue small3" if @id3 != type3[1] %> <% end %>




<%= @category.name %>一覧


<%= render partial: 'indexform' %>
<%= form_for(@good) do |f| %>

カテゴリ

<%= f.select :good_type_id, @type_id3, selected: @id3 %>

項目名

<%= f.text_field :name %>

メモ1

<%= f.text_field :memo1 %>

メモ2

<%= f.text_field :memo2 %>

メモ3

<%= f.text_field :memo3 %>

メモ4

<%= f.text_field :memo4 %>

メモ5

<%= f.text_field :memo5 %>

メモ6

<%= f.text_field :memo6 %>

メモ7

<%= f.text_field :memo7 %>
<%= f.submit "項目追加", class: "w8-button l-blue small"%>
<% end %>