<% content_for :side_bar do %>
  <%= render :partial => 'layouts/side_bar', :locals => {:link_name => t('site.settings'), :link_url => admin_site_site_info_path(@site), :icon => 'icons-cog', :side_bar_content => 'admin/sites/side_bar'} %>
<% end %>

<table class="table">
  <tr>
    <th><%= I18n.t 'user_action.time' %></th>
    <th><%= I18n.t 'user_action.name' %></th>
    <th><%= I18n.t 'user_action.page' %></th>
  </tr>

  <%  @user_actions.each do |user_action| %>
    <tr>
      <td><%= user_action.created_at %></td>
      <td><%= user_action.user.name %></td>
      <td><%= user_action.page %></td>
    </tr> 
  <% end %>
</table>

