<div id="display_box">

  <div id="edit_error_status"><%= error_messages_for(:user) + error_messages_for(:prefs) %></div>

  <% form_tag :action => 'update' do %>
  <div id="tabs">
  	<ul>
      <li><a href="#tabs-1"><%= t('preferences.tabs.profile')%></a></li>
      <li><a href="#tabs-2"><%= t('preferences.tabs.authentication')%></a></li>
      <li><a href="#tabs-3"><%= t('preferences.tabs.date_and_time')%></a></li>
      <li><a href="#tabs-4"><%= t('preferences.tabs.tracks_behavior')%></a></li>
    </ul>
  	<div id="tabs-1">
      <%= render :partial => 'profile'%>
    </div>
  	<div id="tabs-2">
      <%= render :partial => 'authentication'%>
    </div>
  	<div id="tabs-3">
      <%= render :partial => 'date_and_time'%>
    </div>
  	<div id="tabs-4">
      <%= render :partial => 'tracks_behavior'%>
    </div>
  </div>

  <br/>

  <button type="submit" id="prefs_submit"><%= t('common.update') %></button>

  <% end %>
</div>