<%= render :partial => "submenu" %>

<div id="main"><!-- メイン -->

<h2>入庫登録/編集</h2>
<p class="req"><span class="pnt">※</span>は必須入力です</p>
<span class="pnt"><%= flash[:error] %></span>
<%= error_messages_for :stock_history %>
<% form_for :stock_history, :url => {:action => 'update', :id=> @product_style } do |f| %>
  <%= render :partial => "info"%>
  <%= render :partial => "form", :locals => {:f => f} %>
  <div class="btn_box">
    <%= submit_tag "この内容で登録する", :onclick => "return #{confirm_javascript_function("登録しても宜しいですか")}", :class=>"btn" %>
    <%= image_tag("btn_side.gif", :width => "6", :height => "34", :class => "btn_side") %>
  </div>
<% end %>

</div><!-- /メイン -->
