<% if @user %>
  <% content_for :subnavbar do %>
    <li><%= link_to t(:record_add2), :action => "create", :user_id => @user.id %></li>
    <li><%= link_to t(:record_list), :action => "index", :user_id => @user.id %></li>
    <li><%= link_to t(:record_list2), :action => "index", :user_id => nil %></li>
  <% end %>
<% end %>
