<% content_for :head do %>
  <%= stylesheet_link_tag "front/mypage" %>
<% end %>

<ol id="bread_list" class="m_btm"><li class="bread_top"><a href="/">トップページ</a></li><li><%= link_to "マイページ", :controller => :accounts, :action => :history_list %></li><li>登録内容確認</li></ol>
<h2 class="main_t">マイページ</h2>
<div id="mypage" class="clearfix">
  <!-- マイメニュー -->
  <%= render :partial=> "user/navigation" %>
  <!-- 会員登録内容変更 -->
  <div id="mypage_main">
    <h3><img src="/images/mypage/mypage_t2.gif" width="535" height="44" alt="会員登録内容変更" /></h3>
    <div class="mypage_box">
      <%= error_messages_for :customer %>
      <%= render :partial => 'confirm' %>
      <% form_for :customer, :url => {:action => 'edit_complete'} do |f| %>
          <% [:zipcode01, :zipcode02, :tel01, :tel02, :tel03,
          :fax01, :fax02, :fax03, :sex, :occupation_id,
          :family_name, :first_name, :family_name_kana, :first_name_kana,
          :email, :address_city, :address_detail,
          :birthday, :raw_password, :receive_mailmagazine, :prefecture_id
          ].each do | column | %>
        <%= f.hidden_field column -%>
      <% end %>
      <div id="submit">
        <%= hidden_field_tag 'password', @customer.raw_password -%>
        <div class="my_btn2 clearfix">
          <%= link_to_function image_tag("/images/mypage/btn02.gif", :width=>"101", :height=>"28", :alt=>"戻る", :class=>"hoverImg"), 'history.back()' %>
          <%= image_submit_tag("/images/mypage/btn03.gif", :width=>"101", :height=>"28", :alt => '送信', :class=>"hoverImg", :style => 'border:0px;') %>
        </div>
      </div>
      <% end %>
    </div>
    <div><img src="/images/mypage/mypage_btm.gif" width="535" height="5" alt="" /></div>
  </div><!-- /mypage_main -->
</div><!-- /mypage -->
