<% # encoding: utf-8 %>

<%= flash_messages %>

<h1><%= t('module_name.personal_project') %></h1>



  <table class="table">
    <thead>
      <tr>
		<th class="grid3"><%= t('personal_project.project_category') %></th>
		<th class="grid3"><%= t('personal_project.year') %></th>
		<th class="grid9"><%= t('personal_project.project_title') %></th>
		<th class="grid3"><%= t('personal_project.participator') %></th>
		<th class="grid3"><%= t('personal_project.period') %></th>
  	  </tr>
    </thead>
    <tbody>
  		
  	<% @projects.each do |project| %>	
  			
      <tr>
		<td><%= project.project_category.title %></td>
		<td><%= project.year %></td>
		<td>
		<%= link_to project.project_title, panel_personal_project_front_end_project_path(project) %>
		<td><%= project.participator %></td>
		</td>
		<td><%= project.period_start_date.strftime("%Y.%m") %> ~ <%= project.period_end_date.strftime("%Y.%m") %></td>
	  </tr>		
  		
  	<% end %>	

    </tbody>
  </table>



<%= paginate @projects, :params => {:inner => false}%>